From ef1f08b369903b9ce6046322718dc39cf241dbd0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 30 Mar 2016 17:10:51 +0100 Subject: [PATCH] [Fix] Fix return value from the function --- src/libutil/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/util.c b/src/libutil/util.c index 9ba67e1e6..15aaac883 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -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; } } } -- 2.39.5