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:36:34 +0000 (11:36 +0100)
commitf6484f7febd853122d4b91e52ee896d70686d9d2
treee5c138b26baebaefa579ecf99981cd4777e85798
parent0b36486fa7d2689635018c2fc883860251dc8066
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
(cherry picked from commit c2e4746fa9d68e7601e8e90cc0144d2e65a695b6)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Fix bug #7098 (smbclient -L gives wrong results with a large browse list).
source/libsmb/clirap.c