summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-23 02:51:31 +0000
committerJeremy Allison <jra@samba.org>2002-11-23 02:51:31 +0000
commit823f8507cb209235e2efc7e19870c5d55b776d4d (patch)
tree559aa86c9ac74d8fa41ead0e560a821d298085c1 /source3/utils
parent211187aedef265d7f5be718bf3931ad38247bc3b (diff)
downloadsamba-823f8507cb209235e2efc7e19870c5d55b776d4d.tar.gz
samba-823f8507cb209235e2efc7e19870c5d55b776d4d.tar.bz2
samba-823f8507cb209235e2efc7e19870c5d55b776d4d.zip
jcmd really should run with a higher compiler warning level more often :-).
Jeremy. (This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 81a2750457..f0ea82d87c 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -758,7 +758,7 @@ static int net_ads_printer_publish(int argc, const char **argv)
if (argc < 1)
return net_ads_printer_usage(argc, argv);
- if (argc = 2)
+ if (argc == 2)
servername = argv[1];
else
servername = global_myname();