mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-05 07:40:35 +01:00
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
(cherry picked from commit 18d4ff6644)
This commit is contained in:
parent
ece958ce9c
commit
cface8bb16
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue