projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df8c3d
)
Remove some dead code related to fd.o #37258
author
eXeC001er
<execooler@gmail.com>
Fri, 11 Nov 2011 11:33:23 +0000
(11:33 +0000)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 4 Jan 2012 17:52:11 +0000
(17:52 +0000)
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>
dbus/dbus-sysdeps-unix.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-unix.c
b/dbus/dbus-sysdeps-unix.c
index
98667f2
..
1a8f6fc
100644
(file)
--- a/
dbus/dbus-sysdeps-unix.c
+++ b/
dbus/dbus-sysdeps-unix.c
@@
-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;
}