From f634f24cf8466b12b54e2b6b7d52adba174603dc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 1 Dec 2002 03:12:50 +0000 Subject: Dereference the correct thing here, so we don't segfault (This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8) --- source3/libsmb/namequery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/namequery.c') diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 6a59b73db2..c781e98365 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -913,7 +913,7 @@ static BOOL internal_resolve_name(const char *name, int name_type, /* Save in name cache */ for (i = 0; i < *return_count && DEBUGLEVEL == 100; i++) DEBUG(100, ("Storing name %s of type %d (ip: %s)\n", name, - name_type, inet_ntoa(*return_iplist[i]))); + name_type, inet_ntoa((*return_iplist)[i]))); namecache_store(name, name_type, *return_count, *return_iplist); -- cgit