diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-30 17:10:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-30 17:10:51 +0100 |
commit | ef1f08b369903b9ce6046322718dc39cf241dbd0 (patch) | |
tree | 8b86adcffe3f84f624b2d27d071b8705557c8966 /src/libutil/util.c | |
parent | 7883c67c16b869e562b0fcdda103d76fafeb0f52 (diff) | |
download | rspamd-ef1f08b369903b9ce6046322718dc39cf241dbd0.tar.gz rspamd-ef1f08b369903b9ce6046322718dc39cf241dbd0.zip |
[Fix] Fix return value from the function
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |