Skip to content

Commit

Permalink
Fix syntax error (libevent#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
OgreTransporter authored Nov 4, 2022
1 parent ff99f67 commit ef8f8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, '%');
Expand Down

0 comments on commit ef8f8ca

Please sign in to comment.