summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 17:54:48 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 18:28:23 +0100
commit3b9680264aa3faa7a07d036e14aaf0a439d212ca (patch)
tree9b2c86df683e7f652c51ddac3f202b07c6d377f8 /source3/utils
parent7af3ebdac05fbc99d03f89a21868311cc247d8a2 (diff)
downloadsamba-3b9680264aa3faa7a07d036e14aaf0a439d212ca.tar.gz
samba-3b9680264aa3faa7a07d036e14aaf0a439d212ca.tar.bz2
samba-3b9680264aa3faa7a07d036e14aaf0a439d212ca.zip
Fix Coverity ID 479
(This used to be commit 70b33397ba6e18f40087fb642a1be62ee68d5f3a)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 586ea2fdb6..1b21c5e0ed 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -503,7 +503,7 @@ bool net_find_server(const char *domain,
*server_name = SMB_STRDUP("127.0.0.1");
}
- if (!server_name || !*server_name) {
+ if (!*server_name) {
DEBUG(1,("no server to connect to\n"));
return False;
}