chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: add infrastructure to keep track of machines, and move to slices
[elogind.git]
/
src
/
core
/
service.c
diff --git
a/src/core/service.c
b/src/core/service.c
index ac8cdb2c31622a74d1063389b3069f4a8c527ad0..a0c648a85b6b257e7339d823f0dd3d0ac9a80866 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-220,7
+220,7
@@
static void service_close_socket_fd(Service *s) {
static void service_connection_unref(Service *s) {
assert(s);
- if (!UNIT_
DEREF
(s->accept_socket))
+ if (!UNIT_
ISSET
(s->accept_socket))
return;
socket_connection_unref(SOCKET(UNIT_DEREF(s->accept_socket)));