s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()
commit42a78fbfd07088f677f1c51cce067f877adc6e25
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Feb 2010 13:03:20 +0000 (4 14:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:50 +0000 (15 14:46 +0100)
tree801f8dc82a2cd19f3a577abc4a3da73984058b22
parent2614774f346fb6d10b9263f34e62d36aff9f54d8
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).
(cherry picked from commit 49ed8e5ef079edf42bbe5325a46547ecfdff8a7d)
source3/libsmb/clirap.c