cosmetics
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 13 Jan 2009 06:50:55 +0000 (06:50 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 13 Jan 2009 06:50:55 +0000 (06:50 -0000)
src/starter/invokecharon.c

index 16a7f2a..95ef0bc 100644 (file)
@@ -130,10 +130,9 @@ starter_start_charon (starter_config_t *cfg, bool no_fork)
     /* parse debug string */
     {
        int level;
-       char *pos, *buf_pos, type[4];
-
-       pos = cfg->setup.charondebug;
-       buf_pos = buffer;
+       char type[4];
+       char *pos = cfg->setup.charondebug;
+       char *buf_pos = buffer;
 
        while (pos && sscanf(pos, "%4s %d,", type, &level) == 2)
        {