From e4e1d561118f9d95d4d3a67b79a8acaf33f972e8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 1 Jun 2012 09:07:31 +0200 Subject: [PATCH] Reformat --- src/zoom-c.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zoom-c.c b/src/zoom-c.c index 667edb3..58afbbf 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -419,7 +419,6 @@ ZOOM_API(void) c->tproxy = xstrdup(val); } - 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 && - (pcolon == 0 || pcomma < pcolon)) { + (pcolon == 0 || pcomma < pcolon)) + { *pcomma = '\0'; - if ((pequals = strchr(remainder, '=')) != 0) { + if ((pequals = strchr(remainder, '=')) != 0) + { *pequals = '\0'; - /*printf("# setting '%s'='%s'\n", remainder, pequals+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; - /*printf("# reset hp='%s'\n", remainder);*/ } } -- 1.7.10.4