[asterisk-commits] pabelanger: branch 1.8 r308150 - /branches/1.8/addons/ooh323c/src/ooSocket.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 16 14:21:20 CST 2011


Author: pabelanger
Date: Wed Feb 16 14:21:17 2011
New Revision: 308150

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308150
Log:
Fix FreeBSD builds.

Modified:
    branches/1.8/addons/ooh323c/src/ooSocket.c

Modified: branches/1.8/addons/ooh323c/src/ooSocket.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/ooSocket.c?view=diff&rev=308150&r1=308149&r2=308150
==============================================================================
--- branches/1.8/addons/ooh323c/src/ooSocket.c (original)
+++ branches/1.8/addons/ooh323c/src/ooSocket.c Wed Feb 16 14:21:17 2011
@@ -191,8 +191,9 @@
 int ooSocketCreate (OOSOCKET* psocket) 
 {
    int on;
+   int keepalive = 1;
 #ifdef __linux__
-   int keepalive = 1, keepcnt = 24, keepidle = 120, keepintvl = 30;
+   int keepcnt = 24, keepidle = 120, keepintvl = 30;
 #endif
    struct linger linger;
    OOSOCKET sock = socket (AF_INET,




More information about the asterisk-commits mailing list