Typo
authorMartin Pool <mbp@samba.org>
Tue, 18 Dec 2001 06:48:56 +0000 (06:48 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 18 Dec 2001 06:48:56 +0000 (06:48 +0000)
socket.c

index bf69c0b..48991d3 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -112,7 +112,7 @@ int try_bind_local(int s,
        }
 
        for (r = bres_all; r; r = r->ai_next) {
-               if (bind(s, bres->ai_addr, bres->ai_addrlen) == -1)
+               if (bind(s, r->ai_addr, r->ai_addrlen) == -1)
                        continue;
                return s;
        }