[asterisk-commits] pabelanger: trunk r308157 - in /trunk: ./ addons/ooh323c/src/ooSocket.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 16 16:02:44 CST 2011


Author: pabelanger
Date: Wed Feb 16 16:02:41 2011
New Revision: 308157

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308157
Log:
Merged revisions 308150 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r308150 | pabelanger | 2011-02-16 15:21:17 -0500 (Wed, 16 Feb 2011) | 2 lines
  
  Fix FreeBSD builds.
........

Modified:
    trunk/   (props changed)
    trunk/addons/ooh323c/src/ooSocket.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/addons/ooh323c/src/ooSocket.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooSocket.c?view=diff&rev=308157&r1=308156&r2=308157
==============================================================================
--- trunk/addons/ooh323c/src/ooSocket.c (original)
+++ trunk/addons/ooh323c/src/ooSocket.c Wed Feb 16 16:02:41 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