[svn-commits] file: trunk r647 - /trunk/channels/ooh323c/src/ooSocket.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 29 22:07:15 CDT 2008


Author: file
Date: Tue Jul 29 22:07:14 2008
New Revision: 647

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=647
Log:
Fix building of ooh323 on FreeBSD.

Modified:
    trunk/channels/ooh323c/src/ooSocket.c

Modified: trunk/channels/ooh323c/src/ooSocket.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/channels/ooh323c/src/ooSocket.c?view=diff&rev=647&r1=646&r2=647
==============================================================================
--- trunk/channels/ooh323c/src/ooSocket.c (original)
+++ trunk/channels/ooh323c/src/ooSocket.c Tue Jul 29 22:07:14 2008
@@ -608,7 +608,10 @@
       int flags;
       for (ifName = ifc.ifc_req; (void*)ifName < ifEndList; ifName++) {
          char *pName=NULL;
-         char addr[50], mask[50];
+         char addr[50];
+#ifdef ifr_netmask
+	 char mask[50];
+#endif
          
          pIf = (struct OOInterface*)memAlloc(pctxt, sizeof(struct OOInterface));
          pName = (char*)memAlloc(pctxt, strlen(ifName->ifr_name)+1);




More information about the svn-commits mailing list