Remove more static data from lib/util_sock.c and
[samba.git] / source3 / utils / nmblookup.c
index 17fbd485aec41d65b35e85c899f65b77804b8c88..4ce69684739a45fb6138d52504d97c3e76d4b909 100644 (file)
@@ -332,7 +332,7 @@ int main(int argc,char *argv[])
 
                if(lookup_by_ip) {
                        struct sockaddr_storage ss;
-                       ip = *interpret_addr2(lookup);
+                       (void)interpret_addr2(&ip, lookup);
                        in_addr_to_sockaddr_storage(&ss, ip);
                        fstrcpy(lookup,"*");
                        do_node_status(ServerFD, lookup, lookup_type, &ss);