From e2517bd48c5eb64dda325c519186389e3a75622c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fernando=20Tarl=C3=A1=20Cardoso=20Lemos?= Date: Sat, 20 Nov 2010 20:14:28 -0200 Subject: [PATCH] Unlink the resolved path. --- src/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.c b/src/ipc.c index fd4966ce..f0530904 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -594,7 +594,7 @@ int ipc_create_socket(const char *filename) { free(copy); /* Unlink the unix domain socket before */ - unlink(filename); + unlink(resolved); if ((sockfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) { perror("socket()"); -- 2.39.5