diff --git a/probe.c b/probe.c index 79659e9..cf7711f 100644 --- a/probe.c +++ b/probe.c @@ -229,7 +229,7 @@ static int regex_probe(const char *p, int len, struct proto *proto) for (; *probe && regexec(*probe, p, 0, &pos, REG_STARTEND); probe++) /* try them all */; - return (probe != NULL); + return (*probe != NULL); } /*