mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01: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:
parent
8055dd2702
commit
75359441cd
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user