summaryrefslogtreecommitdiff
path: root/src/shared/condition.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-28 16:51:30 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-29 16:27:48 +0200
commit7f2fbbff06519a486a37ad140ea9200513d42747 (patch)
treeb5e271051174af96db7f55f7f2997df7af8f29f6 /src/shared/condition.h
parentf0367da7d1a61ad698a55d17b5c28ddce0dc265a (diff)
core: minor error path fix
In service_set_socket_fd(), let's make sure that if we can't add the requested dependencies we take no possession of the passed connection fd. This way, we follow the strict rule: we take possession of the passed fd on success, but on failure we don't, and the fd remains in possession of the caller.
Diffstat (limited to 'src/shared/condition.h')
0 files changed, 0 insertions, 0 deletions