diff options
Diffstat (limited to 'uri.c')
| -rw-r--r-- | uri.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -250,7 +250,7 @@ hostname_is_localhost(const char *hostname) this_host[0] = '\0'; return (hostname != NULL && ( - strcmp(hostname, "") == 0 || - strcmp(hostname, "localhost") == 0 || - strcmp(hostname, this_host) == 0)); + streq(hostname, "") || + streq(hostname, "localhost") || + streq(hostname, this_host))); } |
