diff options
Diffstat (limited to 'src/sd-daemon.c')
-rw-r--r-- | src/sd-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sd-daemon.c b/src/sd-daemon.c index 62936ec..ad2bfa8 100644 --- a/src/sd-daemon.c +++ b/src/sd-daemon.c @@ -169,7 +169,7 @@ int sd_is_socket(int fd, int type, int listening) { if (l != sizeof(accepting)) return -EINVAL; - if (!accepting == !listening) + if (!accepting != !listening) return 0; } |