summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-07 14:35:04 -0800
committerJeremy Allison <jra@samba.org>2007-12-07 14:35:04 -0800
commit8267331be653e2f68d2b64a465b1c15bb9ddddb0 (patch)
tree2f2cf004b758c6121c45b723340f611465b1b855 /source3
parentc281ff715b867455233923adabc44c847ca1f1ef (diff)
downloadsamba-8267331be653e2f68d2b64a465b1c15bb9ddddb0.tar.gz
samba-8267331be653e2f68d2b64a465b1c15bb9ddddb0.tar.bz2
samba-8267331be653e2f68d2b64a465b1c15bb9ddddb0.zip
Don't deref null pointers.
Jeremy. (This used to be commit 686e4e5efe23e074b661e876b6b118c03ff0058d)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 6514dc76af..a850334efa 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4745,7 +4745,7 @@ static int do_message_op(void)
if(new_name_resolve_order)
lp_set_name_resolve_order(new_name_resolve_order);
- if (!tar_type && !*query_host && !*service && !message) {
+ if (!tar_type && !query_host && !service && !message) {
poptPrintUsage(pc, stderr, 0);
exit(1);
}