summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
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;
}