diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_ads.c | 2 |
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(); |