summaryrefslogtreecommitdiffstats
path: root/source3/client/smbctool.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-03 22:34:46 -0700
committerJeremy Allison <jra@samba.org>2007-11-03 22:34:46 -0700
commit51a0354d751f48a2542984c81e218da33669bbeb (patch)
tree27e620eb5d4e72e2a07591645680e6776491702b /source3/client/smbctool.c
parent56aa420195f4bf8007fbbbe362dbaf961a97f423 (diff)
downloadsamba-51a0354d751f48a2542984c81e218da33669bbeb.tar.gz
samba-51a0354d751f48a2542984c81e218da33669bbeb.tar.xz
samba-51a0354d751f48a2542984c81e218da33669bbeb.zip
Remove more static data from lib/util_sock.c and
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
Diffstat (limited to 'source3/client/smbctool.c')
-rw-r--r--source3/client/smbctool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbctool.c b/source3/client/smbctool.c
index 57fd1d6cf7..e7ac80222c 100644
--- a/source3/client/smbctool.c
+++ b/source3/client/smbctool.c
@@ -3485,7 +3485,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_ip_v4(&ip);
+ zero_ip_v4(&ip);
if (have_ip)
ip = dest_ip;
@@ -3595,7 +3595,7 @@ static int do_message_op(void)
break;
case 'I':
{
- dest_ip = *interpret_addr2(poptGetOptArg(pc));
+ (void)interpret_addr2(&dest_ip, poptGetOptArg(pc));
if (is_zero_ip_v4(dest_ip))
exit(1);
have_ip = True;