diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index 4419cfa4b..6e4cdb07a 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -324,7 +324,7 @@ static bool peek_ipv6(const char *str, size_t *skip) } else if(c == ']') { *skip = i; - return colons >= 2; + return colons >= 2 ? TRUE : FALSE; } else { return FALSE;