diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-06-18 13:30:40 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-06-18 13:30:40 -0500 |
commit | 75359441cdfe433c41265aaeeb5bd1f4f187ee63 (patch) | |
tree | bfefd4bd5c21c06f404c986da27d835aca2703e5 /gio/gsocketaddressenumerator.c | |
parent | 8055dd27022fdbef809f09fd5471d03857f3378e (diff) | |
download | glib-75359441cdfe433c41265aaeeb5bd1f4f187ee63.tar.gz |
Fix issue in GSocketAddressEnumerator documentation
We should stop iterating the enumerator the first time it returns NULL,
even if error is set.
Fixes #1982
Diffstat (limited to 'gio/gsocketaddressenumerator.c')
-rw-r--r-- | gio/gsocketaddressenumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gsocketaddressenumerator.c b/gio/gsocketaddressenumerator.c index ebbb5decf..fabd242e7 100644 --- a/gio/gsocketaddressenumerator.c +++ b/gio/gsocketaddressenumerator.c @@ -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. */ |