s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Feb 2010 13:03:20 +0000 (14:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 5 Feb 2010 10:32:15 +0000 (11:32 +0100)
commit49ed8e5ef079edf42bbe5325a46547ecfdff8a7d
tree473fa77531f9cde5d124ec8c7de99ad3a1a6c53a
parent050f86f83b8d6642e1b88c37f4ad294f5e206b87
s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()

When we need to do more than one network operation to get the
browse list we need to use the same 'stype' value each time.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit c2e4746fa9d68e7601e8e90cc0144d2e65a695b6)

Fix bug #7098 (smbclient -L gives wrong results with a large browse list).
source3/libsmb/clirap.c