freebsd-ports/security/yersinia/files/patch-src_interfaces.c
Stefan Eßer 66a15c42f8 Fix a syntactically incorrect variable declaration in the middle of
a function. Seems that only the compiler in 4-stable complains about
this violation of the C standard ...

Reported by:	pointyhat via kris
2006-11-03 21:34:23 +00:00

15 lines
392 B
C

--- src/interfaces.c~ Sun Jun 18 17:23:33 2006
+++ src/interfaces.c Sat Oct 14 07:28:41 2006
@@ -271,10 +271,12 @@
if (tty_tmp->debug)
write_log(0,"\n interfaces_init finish...\n");
+ {
dlist_t *p;
for (p=interfaces->list;p; p = dlist_next(interfaces->list, p)) {
iface_data = (struct interface_data *) dlist_data(p);
+ }
}
return 0;