mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Fix syntax error (#1369)
This commit is contained in:
parent
ff99f67a1a
commit
ef8f8caab6
2
evutil.c
2
evutil.c
@ -2248,7 +2248,7 @@ evutil_inet_pton_scope(int af, const char *src, void *dst, unsigned *indexp)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*indexp = if_index;
|
*indexp = if_index;
|
||||||
if (!(tmp_src = mm_strdup(src)) {
|
if (!(tmp_src = mm_strdup(src))) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
cp = strchr(tmp_src, '%');
|
cp = strchr(tmp_src, '%');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user