From a5e1910f82228bc779508e3977a05ec553d99a01 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 16 Mar 2008 12:23:44 -0700 Subject: 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) --- source3/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit