bugfix: use globbed instead of filename when unlinking ipc socket

next
Michael Stapelberg 2010-03-27 15:05:16 +01:00
parent dc9bc89172
commit 5e2ab5be65
1 changed files with 1 additions and 1 deletions

View File

@ -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()");