projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ccb71a4
)
Reformat
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 Jun 2012 07:07:31 +0000
(09:07 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 Jun 2012 07:07:31 +0000
(09:07 +0200)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
667edb3
..
58afbbf
100644
(file)
--- a/
src/zoom-c.c
+++ b/
src/zoom-c.c
@@
-419,7
+419,6
@@
ZOOM_API(void)
c->tproxy = xstrdup(val);
}
c->tproxy = xstrdup(val);
}
-
xfree(c->charset);
c->charset = 0;
val = ZOOM_options_get(c->options, "charset");
xfree(c->charset);
c->charset = 0;
val = ZOOM_options_get(c->options, "charset");
@@
-466,21
+465,22
@@
ZOOM_API(void)
char *pcomma;
char *pequals;
while ((pcomma = strchr(remainder, ',')) != 0 &&
char *pcomma;
char *pequals;
while ((pcomma = strchr(remainder, ',')) != 0 &&
- (pcolon == 0 || pcomma < pcolon)) {
+ (pcolon == 0 || pcomma < pcolon))
+ {
*pcomma = '\0';
*pcomma = '\0';
- if ((pequals = strchr(remainder, '=')) != 0) {
+ if ((pequals = strchr(remainder, '=')) != 0)
+ {
*pequals = '\0';
*pequals = '\0';
- /*printf("# setting '%s'='%s'\n", remainder, pequals+1);*/
ZOOM_connection_option_set(c, remainder, pequals+1);
}
remainder = pcomma+1;
}
ZOOM_connection_option_set(c, remainder, pequals+1);
}
remainder = pcomma+1;
}
- if (remainder != c->host_port) {
+ if (remainder != c->host_port)
+ {
remainder = xstrdup(remainder);
xfree(c->host_port);
c->host_port = remainder;
remainder = xstrdup(remainder);
xfree(c->host_port);
c->host_port = remainder;
- /*printf("# reset hp='%s'\n", remainder);*/
}
}
}
}