From f9e568ba1463047dd8073ee9ea5a6f8287acd91b Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 29 Oct 2021 13:02:13 +0200 Subject: [PATCH] Clarify NULL vs. INVALID_HANDLE_VALUE in _dbus_win_event_free() Fixes dbus/dbus#352 --- dbus/dbus-sysdeps-win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 650af7fc..654416a3 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -4158,7 +4158,7 @@ _dbus_win_event_wait (HANDLE handle, int timeout, DBusError *error) * * @param handle handle for the event to delete * @param error the error to set (optional) - * @return TRUE the event has been deleted successfully or the handle specifies a #NULL or invalid handle + * @return TRUE the event has been deleted successfully or the handle is one of the special sentinel values #NULL or #INVALID_HANDLE_VALUE * @return FALSE an error has occurred, the reason is returned in \p error if specified */ dbus_bool_t