commit: r1863 - neon/trunk/src

joe at manyfish.co.uk joe at manyfish.co.uk
Mon Oct 3 18:33:53 EDT 2011


Author: joe
Date: Mon Oct  3 22:33:52 2011
New Revision: 1863

Modified:
   neon/trunk/src/ne_socket.c

Log:
* src/ne_socket.c (ne_addr_resolve): Use a bit-wise 
  comparison, suggested by Ivan Zhakov.


Modified: neon/trunk/src/ne_socket.c
==============================================================================
--- neon/trunk/src/ne_socket.c	(original)
+++ neon/trunk/src/ne_socket.c	Mon Oct  3 22:33:52 2011
@@ -913,7 +913,7 @@
 
     hints.ai_socktype = SOCK_STREAM;
 
-    if (flags == NE_ADDR_CANON) {
+    if (flags & NE_ADDR_CANON) {
         hints.ai_flags = AI_CANONNAME;
     }
 



More information about the neon-commits mailing list