s3-utils/smbget: Fix reading the rcfile
commit9d4cbe61c3649ff95f0b6aa6e3a9fcd5bc4968aa
authorChristian Ambach <ambi@samba.org>
Wed, 27 Jan 2016 20:56:10 +0000 (27 21:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Feb 2016 10:50:25 +0000 (3 11:50 +0100)
tree12f7cf61163dcba8657502f9d85795f886aee471
parent1ebeb0677911ab89113c02b5d13a6bb7d8009f52
s3-utils/smbget: Fix reading the rcfile

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11700

shortName in POPT_AUTOHELP is null, so the loop always stopped at this
item.

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit bf1c1ad068a763108f9b8f79431de522783a4302)
source3/utils/smbget.c