mirror of
https://github.com/sigmasternchen/Serwer
synced 2025-03-15 23:28:54 +00:00
*facepalm*
This commit is contained in:
parent
12c5783680
commit
963a7b3505
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ bool ws_host_match(const char* host, const char* match) {
|
||||||
int wnext = -1;
|
int wnext = -1;
|
||||||
int found = -1;
|
int found = -1;
|
||||||
|
|
||||||
int h = 0, int = 0;
|
int h = 0, m = 0;
|
||||||
for (; m < lenm && h < lenh; m++, h++) {
|
for (; m < lenm && h < lenh; m++, h++) {
|
||||||
if (match[m] == '*') {
|
if (match[m] == '*') {
|
||||||
wildcard = true;
|
wildcard = true;
|
||||||
|
|
Loading…
Reference in a new issue