[glib/mcatanzaro/#1982] Fix issue in GSocketAddressEnumerator documentation



commit 75359441cdfe433c41265aaeeb5bd1f4f187ee63
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Jun 18 13:30:40 2020 -0500

    Fix issue in GSocketAddressEnumerator documentation
    
    We should stop iterating the enumerator the first time it returns NULL,
    even if error is set.
    
    Fixes #1982

 gio/gsocketaddressenumerator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]