From d4307679b95088d05f0abad440de5e961ee965df Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 27 Oct 2007 20:29:36 -0700 Subject: Change all occurrences of zero_addr(&ss,AF_INET) to zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c) --- source3/client/smbmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client/smbmount.c') 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 */ -- cgit