diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c index 52e6dcab1..c9e6f334f 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -1058,7 +1058,7 @@ len = offsetof(struct sockaddr_un, sun_path) + 1 DEBUG(D_any) debug_printf(" @%s\n", sa_un.sun_path+1); #else /* filesystem-visible and persistent; will neeed removal */ len = offsetof(struct sockaddr_un, sun_path) - + snprintf(sa_un.sun_path, sizeof(sa_un.sun_path), "%s", + + snprintf(sa_un.sun_path, sizeof(sa_un.sun_path), "%s", expand_string(notifier_socket)); DEBUG(D_any) debug_printf(" %s\n", sa_un.sun_path); #endif @@ -2415,7 +2415,7 @@ for (;;) accept_retry_errno = errno; accept_retry_select_failed = select_failed; } - else if ( errno != accept_retry_errno + else if ( errno != accept_retry_errno || select_failed != accept_retry_select_failed || accept_retry_count >= 50) { |