]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix return value from the function
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Mar 2016 16:10:51 +0000 (17:10 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Mar 2016 16:10:51 +0000 (17:10 +0100)
src/libutil/util.c

index 9ba67e1e64611d2490296d638835bf3ac866e200..15aaac8831042713d9a1cf2d9c52e5d3479a7ebe 100644 (file)
@@ -455,7 +455,7 @@ rspamd_socket (const gchar *credits, guint16 port,
                        msg_err ("address resolution for %s failed: %s",
                                credits,
                                gai_strerror (r));
-                       return FALSE;
+                       return -1;
                }
        }
 }