[glib/wip/tingping/localhost-is-local] Apply suggestion to gio/gresolver.c
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/tingping/localhost-is-local] Apply suggestion to gio/gresolver.c
- Date: Tue, 8 Oct 2019 18:15:49 +0000 (UTC)
commit dfac0dfe6aad60d28c0a0fe2f82b37c8ae97b8ba
Author: Patrick Griffis <tingping tingping se>
Date: Tue Oct 8 18:15:39 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 70e7bf3c6..cf4ed00b1 100644
--- a/gio/gresolver.c
+++ b/gio/gresolver.c
@@ -324,7 +324,7 @@ hostname_is_localhost (const char *hostname)
len -= p - hostname;
- return g_ascii_strncasecmp (p, "localhost", MAX(len, strlen ("localhost"))) == 0;
+ return g_ascii_strncasecmp (p, "localhost", MAX (len, strlen ("localhost"))) == 0;
}
/* Note that this does not follow the "FALSE means @error is set"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]