Module: sip-router
Branch: 3.1
Commit: 9ef0a1e347abd31b352d3cb85326605fd72e6789
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9ef0a1e…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Thu Nov 4 17:14:56 2010 +0200
core:forward.c Fixed small error caused by unlikely usage.
(cherry picked from commit 6cfee82666b78400d5ff15c49aac1441cfbbaaf6)
---
forward.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/forward.c b/forward.c
index 3d7aed1..175f54b 100644
--- a/forward.c
+++ b/forward.c
@@ -175,7 +175,7 @@ retry:
if( !mhomed_sock_cache_disabled ){
/* some Linux kernel versions (all?) along with other UNIXes don't re-bound the
sock if already bound */
/* to un-bound a socket set sin_family to AF_UNSPEC and zero out the rest*/
- if (unlikely(connect(*temp_sock, &uncon.s, sockaddru_len(uncon))) < 0)
+ if (unlikely(connect(*temp_sock, &uncon.s, sockaddru_len(uncon)) < 0))
mhomed_sock_cache_disabled = 1;
}