diff options
author | Jeremy Allison <jra@samba.org> | 2020-09-08 13:58:49 -0700 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2020-09-15 10:09:37 +0000 |
commit | e034072c96962754a222b5d4d436db4c4256a7f3 (patch) | |
tree | bf59097108c8d2e7fb61d8c8aa3bc282379233f0 /source4 | |
parent | da9c7b193804b6f5259ca13482660f04b7c5dc1b (diff) | |
download | samba-e034072c96962754a222b5d4d436db4c4256a7f3.tar.gz |
libcli: nbt: Fix resolve_lmhosts_file_as_sockaddr() to return size_t * count of addresses.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/resolve/lmhosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/lmhosts.c b/source4/libcli/resolve/lmhosts.c index 0f2cf99b459..244a9a3ceaf 100644 --- a/source4/libcli/resolve/lmhosts.c +++ b/source4/libcli/resolve/lmhosts.c @@ -53,7 +53,7 @@ static struct composite_context *resolve_name_lmhosts_send( struct composite_context *c; struct resolve_lmhosts_state *state; struct sockaddr_storage *resolved_iplist; - int resolved_count, i; + size_t resolved_count = 0, i; if (event_ctx == NULL) { return NULL; |