Date: Thu, 5 Mar 2009 08:08:09 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189396 - head/sbin/ipfw Message-ID: <200903050808.n25889QH067030@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: luigi Date: Thu Mar 5 08:08:09 2009 New Revision: 189396 URL: http://svn.freebsd.org/changeset/base/189396 Log: move a variable declaration to the beginning of the block (unfortunately, it is far away; we need to pack this code in a better way). Modified: head/sbin/ipfw/main.c Modified: head/sbin/ipfw/main.c ============================================================================== --- head/sbin/ipfw/main.c Thu Mar 5 08:01:58 2009 (r189395) +++ head/sbin/ipfw/main.c Thu Mar 5 08:08:09 2009 (r189396) @@ -104,6 +104,7 @@ ipfw_main(int oldac, char **oldav) const char *errstr; char **av, **save_av; int do_acct = 0; /* Show packet/byte count */ + int try_next = 0; /* set if pipe cmd not found */ #define WHITESP " \t\f\v\n\r" if (oldac < 2) @@ -332,7 +333,6 @@ ipfw_main(int oldac, char **oldav) av[1] = p; } - int try_next = 0; if (co.use_set == 0) { if (_substrcmp(*av, "add") == 0) ipfw_add(ac, av);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903050808.n25889QH067030>