mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-23 12:10:29 +03:00
Merge cffd3811f2ddb0757b8d20acbce994689e7a842a into 00d5872aa176a23588f143551aa4b7e8dd1c0ca6
This commit is contained in:
commit
9ba7554372
2
probe.c
2
probe.c
@ -268,7 +268,7 @@ static int regex_probe(const char *p, int len, struct proto *proto)
|
||||
regex_t **probe = proto->data;
|
||||
regmatch_t pos = { 0, len };
|
||||
|
||||
for (; *probe && regexec(*probe, p, 0, &pos, REG_STARTEND); probe++)
|
||||
for (; *probe && regexec(*probe, p, 0, &pos, 0); probe++)
|
||||
/* try them all */;
|
||||
|
||||
return (*probe != NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user