Diff of /server/server.cpp [a66c37] .. [a477dd]  Maximize  Restore

  Switch to side-by-side view

--- a/server/server.cpp
+++ b/server/server.cpp
@@ -342,13 +342,14 @@
     new(mp) stack::subnet(&acl, "::1", "loopback");
 
 #if defined(HAVE_NET_IF_H) || defined(HAVE_PWD_H)
-    int ifcount = 0, index = 0;
+    int ifcount = 0;
 #endif
 
 #ifdef  HAVE_NET_IF_H
     char ifbuf[8192];
     struct ifconf ifc;
     struct ifreq *ifr;
+    int index = 0;
 
     ifc.ifc_len = sizeof(ifbuf);
     ifc.ifc_buf = ifbuf;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks