summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-03-21 19:04:45 +0100
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitad57fffa7d5b0480148f993af2f4799d62aa0871 (patch)
tree82b090b67a17ce30166d751ae16ab8f6b32d6b60 /src/login/logind-dbus.c
parentbf8743c89f67bd0c6016d41ac92ee70e962b74ff (diff)
logind: rework manager_get_{user|session}_by_pid() a bit
Let's make sure we always initialize the return value if we return non-negative. Just a matter of coding style: we should always initialize our return values when we return >= 0, and leave them unclobbered if we return < 0.
Diffstat (limited to 'src/login/logind-dbus.c')
0 files changed, 0 insertions, 0 deletions