mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
lib: Fix a false/NULL hickup
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
98dd651f8d
commit
73533b90cc
@ -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 '.' */
|
||||
|
Loading…
x
Reference in New Issue
Block a user