diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-08 17:28:16 +0400 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-15 16:26:18 +0100 |
commit | 81b49af8a2b6634a4b22045312e15cd14c1c9883 (patch) | |
tree | 8eb83e5ab6dd8f93dfc2e22665d23cd1e1a064e7 /bus | |
parent | 581344c17daa7bb77b7456644020bc709cacc9a4 (diff) | |
download | dbus-81b49af8a2b6634a4b22045312e15cd14c1c9883.tar.gz |
dbus: simplify socket close() & invalidate() calls
Now that _dbus_close_socket() invalidates the socket on its own already.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'bus')
-rw-r--r-- | bus/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -388,10 +388,7 @@ close_reload_pipe (DBusWatch **watch) *watch = NULL; _dbus_close_socket (&reload_pipe[RELOAD_READ_END], NULL); - _dbus_socket_invalidate (&reload_pipe[RELOAD_READ_END]); - _dbus_close_socket (&reload_pipe[RELOAD_WRITE_END], NULL); - _dbus_socket_invalidate (&reload_pipe[RELOAD_WRITE_END]); } #endif /* DBUS_UNIX */ |