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: https://origsvn.digium.com/svn/asterisk/trunk@308157
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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,