s3: net_share.c: fix argc handling
authorHolger Hetterich <hhetter@novell.com>
Wed, 3 Mar 2010 11:58:15 +0000 (12:58 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Mar 2010 07:40:59 +0000 (09:40 +0200)
commitfc8689cf9ec4588d57d734999d524f6725d34b1d
tree7d4682f85db8f7ff657b57a099e427f2903d52e4
parent46f2152086f91da78f1a6790ed4cbc788975d170
s3: net_share.c: fix argc handling

The "net share" command was no longer possible because it enters
the net_share function with argc == 0.

Fix bug #7203 (net share doesn't work anymore).
(cherry picked from commit cc5e6e62acc75699951e1860acde4af82646f747)
source3/utils/net_share.c