Change LocalName() to take an argument (about whether or not to use
[mmh] / mts / smtp / hosts.c
index 29ac6d8..94a22d5 100644 (file)
@@ -48,8 +48,8 @@ OfficialName (char *name)
     *q = '\0';
     q = site;
 
-    if (!mh_strcasecmp (LocalName(), site))
-       return LocalName();
+    if (!mh_strcasecmp (LocalName(1), site))
+       return LocalName(1);
 
     memset(&hints, 0, sizeof(hints));
     hints.ai_flags = AI_CANONNAME;