X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Finternet_addressing.c;h=a4f8218f521e471f61f73999befc7f2ab10fcd0a;hb=7e06cf0ca1c9821277a625fe63f77e4a286c6759;hp=e1878423986b1efbc8898c41d6719208e9c38d2a;hpb=a47ba867a090bf443d5a9752298d8f6cc39dfb38;p=citadel.git diff --git a/citadel/internet_addressing.c b/citadel/internet_addressing.c index e18784239..a4f8218f5 100644 --- a/citadel/internet_addressing.c +++ b/citadel/internet_addressing.c @@ -52,6 +52,7 @@ int CtdlHostAlias(char *fqdn) { char host[256], type[256]; if (!strcasecmp(fqdn, config.c_fqdn)) return(hostalias_localhost); + if (!strcasecmp(fqdn, config.c_nodename)) return(hostalias_localhost); if (inetcfg == NULL) return(hostalias_nomatch); config_lines = num_tokens(inetcfg, '\n'); @@ -82,7 +83,7 @@ int CtdlHostAlias(char *fqdn) { /* * Return 0 if a given string fuzzy-matches a Citadel user account * - * FIX ... this needs to be updated to handle aliases. + * FIXME ... this needs to be updated to handle aliases. */ int fuzzy_match(struct usersupp *us, char *matchstring) { int a; @@ -317,7 +318,7 @@ int convert_internet_address(char *destuser, char *desthost, char *source) } /* Now try to resolve the name - * FIX ... do the multiple-addresses thing + * FIXME ... do the multiple-addresses thing */ if (!strcasecmp(node, config.c_nodename)) { /* Try all local rooms */