From edd704fa739232f532e72fd01a15a5bd1535c827 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 25 Apr 2016 20:25:05 +0200 Subject: [PATCH] precheck for UDS --- src/exchange/taler-exchange-httpd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index a4e71f753..30de6e76e 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -755,6 +755,8 @@ main (int argc, un->sun_family = AF_UNIX; strncpy (un->sun_path, serve_unixpath, sizeof (un->sun_path) - 1); + GNUNET_NETWORK_unix_precheck (un); + if (NULL == (nh = GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_STREAM, 0))) { fprintf (stderr, "create failed for AF_UNIX\n");