summaryrefslogtreecommitdiff
path: root/src/event/ServerSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ServerSocket.cxx')
-rw-r--r--src/event/ServerSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx
index 608ee65e2..3f34a5736 100644
--- a/src/event/ServerSocket.cxx
+++ b/src/event/ServerSocket.cxx
@@ -426,7 +426,7 @@ ServerSocket::AddPath(AllocatedPath &&path, Error &error)
#ifdef HAVE_UN
(void)error;
- RemoveFile(path);
+ unlink(path.c_str());
AllocatedSocketAddress address;
address.SetLocal(path.c_str());