summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 8c5d1b6fec..8079932620 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -1846,8 +1846,9 @@ bool is_myname_or_ipaddr(const char *s)
fstring name, dnsname;
char *servername;
- if ( !s )
+ if ( !s ) {
return false;
+ }
/* santize the string from '\\name' */