summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbsock_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smbsock_connect.c')
-rw-r--r--source3/libsmb/smbsock_connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c
index 88b4533bad..8cf403c5ac 100644
--- a/source3/libsmb/smbsock_connect.c
+++ b/source3/libsmb/smbsock_connect.c
@@ -575,7 +575,7 @@ static void smbsock_any_connect_connected(struct tevent_req *subreq)
}
state->num_received += 1;
- if (state->num_received <= state->num_addrs) {
+ if (state->num_received < state->num_addrs) {
/*
* More addrs pending, wait for the others
*/