summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-09-01 07:52:54 +0000
committerVolker Lendecke <vlendec@samba.org>2002-09-01 07:52:54 +0000
commit21a58f5a64e202c0daa99d6924b933f324350946 (patch)
tree942cb5455c7d05458e0b2b34387f6dd15127e95a /source3/utils
parent4cb4534dd6ca8d2eeed5419a2dcf9e28c015b6eb (diff)
downloadsamba-21a58f5a64e202c0daa99d6924b933f324350946.tar.gz
samba-21a58f5a64e202c0daa99d6924b933f324350946.tar.bz2
samba-21a58f5a64e202c0daa99d6924b933f324350946.zip
Fix segfault in net command
(This used to be commit 26bee60a419593a5afe4e48614f7f3fc414596a5)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index cb5350b3ed..25ed337c1f 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -2141,7 +2141,7 @@ BOOL net_rpc_check(unsigned flags)
/* flags (i.e. server type) may depend on command */
if (!net_find_server(flags, &server_ip, &server_name))
- goto done;
+ return False;
ZERO_STRUCT(cli);
if (cli_initialise(&cli) == False)