aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-03 17:17:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-03 17:17:07 +0100
commit9e9d8d7da25d8e44ae636237d873746b425016d5 (patch)
treea0c03ce14d484abe60077145380b4421321814f7
parent5e1cff52d87522e66b7915a89e769ae0149eddd3 (diff)
downloadrspamd-9e9d8d7da25d8e44ae636237d873746b425016d5.tar.gz
rspamd-9e9d8d7da25d8e44ae636237d873746b425016d5.zip
Fix UDP sockets creation.
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 56f6c5f26..716457d45 100644
--- a/src/util.c
+++ b/src/util.c
@@ -349,7 +349,7 @@ make_universal_socket (const gchar *credits, guint16 port, gint type, gboolean a
rspamd_snprintf (portbuf, sizeof (portbuf), "%d", (int)port);
if ((r = getaddrinfo (credits, portbuf, &hints, &res)) == 0) {
- r = make_tcp_socket (res, is_server, async);
+ r = make_inet_socket (type, res, is_server, async);
freeaddrinfo (res);
return r;
}