From: Michael Jerris Date: Thu, 30 Jul 2009 00:35:53 +0000 (+0000) Subject: whoops X-Git-Tag: v1.0.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6854161e74f9058bc52cc7aa165e2f71c08d7623;p=thirdparty%2Ffreeswitch.git whoops git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14430 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch.c b/src/switch.c index 18cfd545b6..aa26d892b0 100644 --- a/src/switch.c +++ b/src/switch.c @@ -748,7 +748,7 @@ int main(int argc, char *argv[]) ret = (int)execv(local_argv[0], local_argv); fprintf(stderr, "Restart Failed [%s] resorting to plan b\n", strerror(errno)); - for(j = 0; i < argc; j++) { + for(j = 0; j < argc; j++) { switch_snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%s ", local_argv[j]); }