]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
whoops
authorMichael Jerris <mike@jerris.com>
Thu, 30 Jul 2009 00:35:53 +0000 (00:35 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 30 Jul 2009 00:35:53 +0000 (00:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14430 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch.c

index 18cfd545b6f7ee4f4cdd6f681d1ace51758aa3b0..aa26d892b08808bbacf704cf90ccedb9f09e97e0 100644 (file)
@@ -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]);
                }