Fix bug #10100 - rpcclient crashes when sending the 'netshareenum 502' command
authorJeremy Allison <jra@samba.org>
Tue, 20 Aug 2013 17:55:27 +0000 (10:55 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 21 Aug 2013 15:30:33 +0000 (17:30 +0200)
commit6e82f70da089964994fcb179c40bdc8275be2da9
treede4659b81e440e89ab79e0df53c4e5d210890c3d
parent534af203e3e32789b673e6e029b3fb3fd5d40646
Fix bug #10100 - rpcclient crashes when sending the 'netshareenum 502' command

We are using the wrong variable for the returned count.
Reported by <pisymbol@gmail.com>.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Aug 21 17:30:33 CEST 2013 on sn-devel-104
source3/rpcclient/cmd_srvsvc.c