diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-03 22:34:46 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-03 22:34:46 -0700 |
commit | 35aaa36f82c70964cee5d0778eb04547b226dd3f (patch) | |
tree | 2ab71547d481d8cc65019951a898cb679e3a837e /source/client | |
parent | 62b5ca3334598aec3304d21118f67702afc3854a (diff) | |
download | samba-35aaa36f82c70964cee5d0778eb04547b226dd3f.tar.gz samba-35aaa36f82c70964cee5d0778eb04547b226dd3f.tar.xz samba-35aaa36f82c70964cee5d0778eb04547b226dd3f.zip |
Remove more static data from lib/util_sock.c and
callers.
Jeremy.
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/smbctool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/smbctool.c b/source/client/smbctool.c index 57fd1d6cf7c..e7ac80222c8 100644 --- a/source/client/smbctool.c +++ b/source/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; |