mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 04:08:12 +02:00
Remove some dead code related to fd.o #37258
This would now just attempt to close fd -1, which is useless. [commit message added by smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37258 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
5df8c3db12
commit
f50ea3140e
1 changed files with 0 additions and 1 deletions
|
|
@ -1216,7 +1216,6 @@ _dbus_connect_tcp_socket_with_nonce (const char *host,
|
|||
_dbus_error_from_errno (errno),
|
||||
"Failed to lookup host/port: \"%s:%s\": %s (%d)",
|
||||
host, port, gai_strerror(res), res);
|
||||
_dbus_close (fd, NULL);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue