summaryrefslogtreecommitdiff
path: root/source3/client/clientutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/clientutil.c')
-rw-r--r--source3/client/clientutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c
index 7c145bf59e..e3786d6029 100644
--- a/source3/client/clientutil.c
+++ b/source3/client/clientutil.c
@@ -908,7 +908,7 @@ BOOL cli_open_sockets(int port )
interpret_addr(lp_socket_address()))) != -1) {
set_socket_options(bcast, "SO_BROADCAST");
- if ((ip_list = name_query(bcast, host, name_type, True, True, *iface_bcast(dest_ip),
+ if (ip_list = name_query(bcast, host, name_type, True, True, *iface_bcast(dest_ip),
&count,0)) {
dest_ip = ip_list[0];
free(ip_list);