summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-07 04:03:21 +0000
committerTim Potter <tpot@samba.org>2002-03-07 04:03:21 +0000
commitb89b7d4d12becdd3b19c18429a403a5b12d169c4 (patch)
tree5f4772ae37d1cd50d5861cc812f766a3d872fc4a /source3
parent0876fb4113e17c772561c84d7fb09cbec4a66c82 (diff)
downloadsamba-b89b7d4d12becdd3b19c18429a403a5b12d169c4.tar.gz
samba-b89b7d4d12becdd3b19c18429a403a5b12d169c4.tar.bz2
samba-b89b7d4d12becdd3b19c18429a403a5b12d169c4.zip
argc == 0 is an impossible condition.
(This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 7cb56fe5e4..68457e2b8f 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -574,7 +574,8 @@ static void usage(void)
AllowDebugChange = False;
/* Parse options */
- if (argc == 0) {
+
+ if (argc == 1) {
usage();
return 0;
}