diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 6c0a02e2c..ec0956c0b 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -1277,6 +1277,8 @@ unix_transport_server_start (void *cls) | |||
1277 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "socket"); | 1277 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "socket"); |
1278 | return GNUNET_SYSERR; | 1278 | return GNUNET_SYSERR; |
1279 | } | 1279 | } |
1280 | if ('\0' != un->sun_path[0]) | ||
1281 | GNUNET_DISK_directory_create_for_file (un->sun_path); | ||
1280 | if (GNUNET_OK != | 1282 | if (GNUNET_OK != |
1281 | GNUNET_NETWORK_socket_bind (plugin->unix_sock.desc, (const struct sockaddr *) un, un_len)) | 1283 | GNUNET_NETWORK_socket_bind (plugin->unix_sock.desc, (const struct sockaddr *) un, un_len)) |
1282 | { | 1284 | { |