svn commit: r258905 - head/sbin/route
Eitan Adler
eadler at FreeBSD.org
Wed Dec 4 04:28:01 UTC 2013
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 at 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;
More information about the svn-src-head
mailing list