diff options
-rw-r--r-- | mksock.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,8 @@ int mksock(const char *path) strcpy(un.sun_path, path); + unlink(un.sun_path); + if (bind(fd, (struct sockaddr *)&un, sizeof(un))) { errmsg ="bind"; goto fail_errno; |