summaryrefslogtreecommitdiff
path: root/evutil.c
diff options
context:
space:
mode:
authorOgreTransporter <OgreTransporter@users.noreply.github.com>2022-11-04 23:52:01 +0100
committerGitHub <noreply@github.com>2022-11-04 23:52:01 +0100
commitef8f8caab6e77f98df0fc43523c64ed53b9d2e89 (patch)
treee37cf592ff1638fbc585d19683dff43ebafd5558 /evutil.c
parentff99f67a1ab7b7e9a0c82dd987317bb1df38bdb7 (diff)
downloadlibevent-ef8f8caab6e77f98df0fc43523c64ed53b9d2e89.tar.gz
Fix syntax error (#1369)
Diffstat (limited to 'evutil.c')
-rw-r--r--evutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evutil.c b/evutil.c
index 2876721a..d46c997b 100644
--- a/evutil.c
+++ b/evutil.c
@@ -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, '%');