summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/client/smbmount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 7561ecb6a3..f18505a418 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3853,7 +3853,7 @@ static int do_message_op(void)
snprintf(name_type_hex, sizeof(name_type_hex), "#%X", name_type);
fstrcat(server_name, name_type_hex);
- zero_addr(&ss,AF_INET);
+ zero_addr(&ss);
if (have_ip)
ss = dest_ss;
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 0c57c405cf..9c671e3ef7 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -146,7 +146,7 @@ static struct cli_state *do_connection(char *the_service)
make_nmb_name(&called , server, 0x20);
again:
- zero_addr(&ip, AF_INET);
+ zero_addr(&ip);
if (have_ip) ip = dest_ip;
/* have to open a new connection */