aboutsummaryrefslogtreecommitdiffstats
path: root/addons
diff options
context:
space:
mode:
authorpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-16 22:02:41 +0000
committerpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-16 22:02:41 +0000
commiteb7432473b885ae19ad3fe41ced9e2e3fb2005aa (patch)
tree75084f42961b6e4b8d1338b311a35ead9fd67428 /addons
parentca683dd53349967c5735d3e3d0420b6e86e42edf (diff)
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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308157 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r--addons/ooh323c/src/ooSocket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/ooh323c/src/ooSocket.c b/addons/ooh323c/src/ooSocket.c
index 5527c5f14..e2267dc00 100644
--- a/addons/ooh323c/src/ooSocket.c
+++ b/addons/ooh323c/src/ooSocket.c
@@ -191,8 +191,9 @@ typedef socklen_t OOSOCKLEN;
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,