s3-utils/smbget: Fix reading the rcfile
authorChristian Ambach <ambi@samba.org>
Wed, 27 Jan 2016 20:56:10 +0000 (21:56 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 28 Jan 2016 08:58:26 +0000 (09:58 +0100)
commitbf1c1ad068a763108f9b8f79431de522783a4302
treee3f0b955b022e634b029a4571fef4156bb00e20d
parente1548c5bf77186c72f0257592e9084e3b039b87c
s3-utils/smbget: Fix reading the rcfile

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>
source3/utils/smbget.c