diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-16 12:23:44 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-03-16 12:23:44 -0700 |
commit | a5e1910f82228bc779508e3977a05ec553d99a01 (patch) | |
tree | ed6536599775cce9f94af81db6df751507907567 | |
parent | 5aec3814340696971e05a5f10970bcd4ce3c519b (diff) | |
download | samba-a5e1910f82228bc779508e3977a05ec553d99a01.tar.gz samba-a5e1910f82228bc779508e3977a05ec553d99a01.tar.bz2 samba-a5e1910f82228bc779508e3977a05ec553d99a01.zip |
Fix Coverity ID 567
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.
Thanks,
Volker
(This used to be commit 2fd25423700cb60f20a8b8d6613279cb06fb518d)
-rw-r--r-- | source3/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 2a65943872..65625138ba 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -63,7 +63,7 @@ bool is_ipaddress(const char *str) sizeof(addr))); sp = addr; } - ret = inet_pton(AF_INET6, addr, &dest6); + ret = inet_pton(AF_INET6, sp, &dest6); if (ret > 0) { return true; } |