[glib/wip/tingping/localhost-is-local] Apply suggestion to gio/gresolver.c



commit afe5e114ebb0bfeb82102ae9f4487eb865af8d21
Author: Patrick Griffis <tingping tingping se>
Date:   Tue Oct 8 18:16:03 2019 +0000

    Apply suggestion to gio/gresolver.c

 gio/gresolver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gresolver.c b/gio/gresolver.c
index cf4ed00b1..fb69098d8 100644
--- a/gio/gresolver.c
+++ b/gio/gresolver.c
@@ -302,7 +302,7 @@ hostname_is_localhost (const char *hostname)
   size_t len = strlen (hostname);
   const char *p;
 
-  /* Match "localhost", "localhost.", and "*.localhost" */
+  /* Match "localhost", "localhost.", "*.localhost" and "*.localhost." */
   if (len < strlen ("localhost"))
     return FALSE;
 


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