s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()
commit4de319afb5dd520b0a72fadeabf70d2aafe262d5
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Feb 2010 13:03:20 +0000 (4 14:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 5 Feb 2010 10:31:06 +0000 (5 11:31 +0100)
tree8183fb63e1dcd160a06d7a9a27cb22dbb44282ce
parent4879e70f31e70d357abb3ea4fbb252f3ad4e971f
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