summaryrefslogtreecommitdiff
path: root/dbus/dbus-transport-socket.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2018-03-21 19:29:44 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2018-03-22 21:13:47 +0100
commit18d4ff664491c17664b9f88c06d9338cd3750120 (patch)
treeaee44e172cee7fcdc448e00916d5977313c4657c /dbus/dbus-transport-socket.c
parent16dac1bd49cc197f09a74ac87026478ce966199a (diff)
downloaddbus-18d4ff664491c17664b9f88c06d9338cd3750120.tar.gz
dbus-transport-socket: Correctly print DBusSocket with DBUS_SOCKET_FORMAT
Previously, on 64-bit Windows we were passing a 32-bit int where the format string expects a 64-bit SOCKET. Reviewed-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105662
Diffstat (limited to 'dbus/dbus-transport-socket.c')
-rw-r--r--dbus/dbus-transport-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-transport-socket.c b/dbus/dbus-transport-socket.c
index fc941823..af4aa5b0 100644
--- a/dbus/dbus-transport-socket.c
+++ b/dbus/dbus-transport-socket.c
@@ -1026,7 +1026,7 @@ socket_handle_watch (DBusTransport *transport,
flags);
else
_dbus_verbose ("asked to handle watch %p on fd %" DBUS_SOCKET_FORMAT " that we don't recognize\n",
- watch, dbus_watch_get_socket (watch));
+ watch, _dbus_socket_printable (_dbus_watch_get_socket (watch)));
}
#endif /* DBUS_ENABLE_VERBOSE_MODE */