Date: Wed, 4 Dec 2013 04:28:00 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258905 - head/sbin/route Message-ID: <201312040428.rB44S0Zf045016@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Wed Dec 4 04:28:00 2013 New Revision: 258905 URL: http://svnweb.freebsd.org/changeset/base/258905 Log: Turn 'n' into a local variable. This is required for additional changes. Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> Modified: head/sbin/route/route.c Modified: head/sbin/route/route.c ============================================================================== --- head/sbin/route/route.c Wed Dec 4 02:27:52 2013 (r258904) +++ head/sbin/route/route.c Wed Dec 4 04:28:00 2013 (r258905) @@ -497,7 +497,8 @@ routename(struct sockaddr *sa) const char *cp; static char line[NI_MAXHOST]; static char domain[MAXHOSTNAMELEN + 1]; - static int first = 1, n; + static int first = 1; + int n; if (first) { first = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312040428.rB44S0Zf045016>