summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/relay-server.c')
-rw-r--r--src/plugins/relay/relay-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-server.c b/src/plugins/relay/relay-server.c
index 838a50df5..5e91d7bd6 100644
--- a/src/plugins/relay/relay-server.c
+++ b/src/plugins/relay/relay-server.c
@@ -534,7 +534,7 @@ relay_server_create_socket (struct t_relay_server *server)
sizeof (server_addr_unix.sun_path));
ptr_addr = &server_addr_unix;
addr_size = sizeof (struct sockaddr_un);
- if (!relay_config_check_path_len (server->path))
+ if (!relay_config_check_path_length (server->path))
return 0;
/* just in case it already exists */
unlink (server->path);