From 9e9d8d7da25d8e44ae636237d873746b425016d5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 3 Jun 2013 17:17:07 +0100 Subject: [PATCH] Fix UDP sockets creation. --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5