From 5e2ab5be655da22d91f2f320e02d8a549270f35e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 27 Mar 2010 15:05:16 +0100 Subject: [PATCH] bugfix: use globbed instead of filename when unlinking ipc socket --- src/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.c b/src/ipc.c index dbd0a697..1937d55d 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -511,7 +511,7 @@ int ipc_create_socket(const char *filename) { free(copy); /* Unlink the unix domain socket before */ - unlink(filename); + unlink(globbed); if ((sockfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) { perror("socket()"); -- 2.39.5