Fix syntax error (#1369)

This commit is contained in:
OgreTransporter 2022-11-04 23:52:01 +01:00 committed by GitHub
parent ff99f67a1a
commit ef8f8caab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2248,7 +2248,7 @@ evutil_inet_pton_scope(int af, const char *src, void *dst, unsigned *indexp)
return 0;
}
*indexp = if_index;
if (!(tmp_src = mm_strdup(src)) {
if (!(tmp_src = mm_strdup(src))) {
return -1;
}
cp = strchr(tmp_src, '%');