diff options
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index 9771b1f6..cb6181c4 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1253,7 +1253,7 @@ country (char *hostname) domain_t *dom; if (!hostname || !*hostname || isdigit ((unsigned char) hostname[strlen (hostname) - 1])) - return _("Unknown"); + return NULL; if ((p = strrchr (hostname, '.'))) p++; else @@ -1263,7 +1263,7 @@ country (char *hostname) sizeof (domain_t), country_compare); if (!dom) - return _("Unknown"); + return NULL; return _(dom->country); } |