]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Clarify NULL vs. INVALID_HANDLE_VALUE in _dbus_win_event_free()
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 29 Oct 2021 11:02:13 +0000 (13:02 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 24 Nov 2021 06:58:29 +0000 (07:58 +0100)
Fixes dbus/dbus#352

dbus/dbus-sysdeps-win.c

index 650af7fc22cca8a2881d9f447bce0582683c9c7a..654416a3358d70276a8a3b7b45251eb060fcc38b 100644 (file)
@@ -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