summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-23 02:51:28 +0000
committerJeremy Allison <jra@samba.org>2002-11-23 02:51:28 +0000
commit46d5c060c60753b94ae97ccd48aa7a8be791feed (patch)
tree0e57c80443dc1aab20a72224dd04d386bcaa38af
parent85ed4d74588d54815d547f5a0ca52ca701c96507 (diff)
downloadsamba-46d5c060c60753b94ae97ccd48aa7a8be791feed.tar.gz
samba-46d5c060c60753b94ae97ccd48aa7a8be791feed.tar.bz2
samba-46d5c060c60753b94ae97ccd48aa7a8be791feed.zip
jcmd really should run with a higher compiler warning level more often :-).
Jeremy. (This used to be commit e93bd375b9e03d9d7038e2be66dd624f91118214)
-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();