serv_upgrade.c now has pre- and post- startup sections. The import of email addresse...
[citadel.git] / citadel / internet_addressing.c
index a9c1b6481521b626bb113f4873fb0338710999b1..5a27eec51920b2a33a8c55b7b85eebd9f5cbd4df 100644 (file)
@@ -285,6 +285,7 @@ int CtdlHostAlias(char *fqdn) {
        char host[256], type[256];
        int found = 0;
 
+       syslog(LOG_DEBUG, "EVQ: CtdlHostAlias(%s)", fqdn);
        if (fqdn == NULL)                                       return(hostalias_nomatch);
        if (IsEmptyStr(fqdn))                                   return(hostalias_nomatch);
        if (!strcasecmp(fqdn, "localhost"))                     return(hostalias_localhost);
@@ -293,6 +294,7 @@ int CtdlHostAlias(char *fqdn) {
        if (inetcfg == NULL)                                    return(hostalias_nomatch);
 
        config_lines = num_tokens(inetcfg, '\n');
+       syslog(LOG_DEBUG, "EVQ: inetcfg config_lines is %d", config_lines);
        for (i=0; i<config_lines; ++i) {
                extract_token(buf, inetcfg, i, '\n', sizeof buf);
                extract_token(host, buf, 0, '|', sizeof host);