diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-03 16:41:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-06 09:41:02 +0200 |
commit | 79c7626d1f239e02152ad698298a1b5d0e9fbacf (patch) | |
tree | 8c44dacdd28f0ec358f5751c5a7733a9d72ebb6e /src/core/socket.h | |
parent | 6ec4ed645e37ba7dd5628747ea78ec1663599ab7 (diff) |
core: simplify fd collection code, return number of fds as return value
Let's simplify the fd collection code a bit, and return the number of
collected fds as positive integer, the way it's customary in our usual
code.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index d20dc8d81a..96091b0609 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -157,7 +157,7 @@ struct Socket { }; /* Called from the service code when collecting fds */ -int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds); +int socket_collect_fds(Socket *s, int **fds); /* Called from the service code when a per-connection service ended */ void socket_connection_unref(Socket *s); |