]> granicus.if.org Git - libevent/commitdiff
Fix syntax error (#1369)
authorOgreTransporter <OgreTransporter@users.noreply.github.com>
Fri, 4 Nov 2022 22:52:01 +0000 (23:52 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Nov 2022 22:52:01 +0000 (23:52 +0100)
evutil.c

index 2876721a5e9b519bf60a2faa04f40aa3c7fa858e..d46c997bd9dd1d7f1726a78352925c1595fab7e2 100644 (file)
--- 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, '%');