Module: sip-router
Branch: master
Commit: 6cfee82666b78400d5ff15c49aac1441cfbbaaf6
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6cfee82666b78400d5ff15c49aac1441cfbbaaf6

Author: Marius Zbihlei <[email protected]>
Committer: Marius Zbihlei <[email protected]>
Date:   Thu Nov  4 17:14:56 2010 +0200

core:forward.c Fixed small error caused by unlikely usage.

---

 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;
        }
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to