1
0
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:
Volker Lendecke 2017-11-13 16:21:31 +01:00 committed by Jeremy Allison
parent 98dd651f8d
commit 73533b90cc

View File

@ -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 '.' */