git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98dd651
)
lib: Fix a false/NULL hickup
author
Volker Lendecke
<vl@samba.org>
Mon, 13 Nov 2017 15:21:31 +0000
(16:21 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 17 Nov 2017 23:09:16 +0000
(
00:09
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util_net.c
patch
|
blob
|
history
diff --git
a/lib/util/util_net.c
b/lib/util/util_net.c
index d52d401e4c7bffe0e50218df960f7c03bc596b01..57db4fae4d81593a3ece0448a39575f4980d17f7 100644
(file)
--- a/
lib/util/util_net.c
+++ b/
lib/util/util_net.c
@@
-53,7
+53,7
@@
static char *normalize_ipv6_literal(const char *str, char *buf, size_t *_len)
size_t cnt_chars = 0;
if (len <= llen) {
- return
false
;
+ return
NULL
;
}
/* ignore a trailing '.' */