diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 0191bf7618..893c9265fd 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1270,7 +1270,7 @@ static NTSTATUS resolve_hosts(const char *name, int name_type, continue; } - memset(&ss, '\0', sizeof(ss)); + ZERO_STRUCT(ss); memcpy(&ss, res->ai_addr, res->ai_addrlen); *return_count += 1; |