Commit 18d4ff66 authored by Ralf Habacker's avatar Ralf Habacker

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's avatarSimon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105662
parent 16dac1bd
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment