diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-03-16 23:44:29 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2021-05-27 21:30:17 +0200 |
commit | 0d0fd7f64d12b5b90be76d3bc17e144b55ee20bd (patch) | |
tree | 77df200462503854bd21fa12ee5ec0dc74ffd290 | |
parent | eae427c645a7d0e2051b0600d2e4235789740132 (diff) |
tidy
(cherry picked from commit 7973b58af7db0fb8fddb54b366dcf43c7ce131ec)
(cherry picked from commit b7e726f6ae4c6f19e7efc4e6b10ec35e5b01368c)
-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) { |