diff src/protocols/silc/util.c @ 8910:26c9b8761707

[gaim-migrate @ 9680] a patch from wing to fix some grammer and puctuation (but not my spelling), and some white space committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 09 May 2004 04:06:58 +0000
parents 50d0f76639e7
children bf4ecb0ae208
line wrap: on
line diff
--- a/src/protocols/silc/util.c	Sun May 09 01:39:42 2004 +0000
+++ b/src/protocols/silc/util.c	Sun May 09 04:06:58 2004 +0000
@@ -48,9 +48,10 @@
 			return TRUE;
 		} else if (!strncmp(ip, "172.", 4) && strlen(ip) > 6) {
 			char tmp[3];
+			int s;
 			memset(tmp, 0, sizeof(tmp));
 			strncpy(tmp, ip + 4, 2);
-			int s = atoi(tmp);
+			s = atoi(tmp);
 			if (s >= 16 && s <= 31)
 				return TRUE;
 		} else if (!strncmp(ip, "192.168.", 8)) {