mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Fix issue in GSocketAddressEnumerator documentation
We should stop iterating the enumerator the first time it returns NULL, even if error is set. Fixes #1982
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
* g_socket_address_enumerator_next_finish() should be used where possible.
|
||||
*
|
||||
* Each #GSocketAddressEnumerator can only be enumerated once. Once
|
||||
* g_socket_address_enumerator_next() has returned %NULL (and no error), further
|
||||
* g_socket_address_enumerator_next() has returned %NULL, further
|
||||
* enumeration with that #GSocketAddressEnumerator is not possible, and it can
|
||||
* be unreffed.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user