Loading server/util.c +2 −2 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,7 @@ char *ap_get_local_host(apr_pool_t *a) if (gethostname(str, sizeof(str) - 1) != 0) #endif { ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_WARNING, 0, NULL, ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_WARNING, 0, a, "%s: gethostname() failed to determine ServerName", ap_server_argv0); } Loading @@ -1900,7 +1900,7 @@ char *ap_get_local_host(apr_pool_t *a) if (!server_hostname) server_hostname = apr_pstrdup(a, "127.0.0.1"); ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO|APLOG_STARTUP, 0, NULL, ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO|APLOG_STARTUP, 0, a, "%s: Could not determine the server's fully qualified " "domain name, using %s for ServerName", ap_server_argv0, server_hostname); Loading Loading
server/util.c +2 −2 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,7 @@ char *ap_get_local_host(apr_pool_t *a) if (gethostname(str, sizeof(str) - 1) != 0) #endif { ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_WARNING, 0, NULL, ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_WARNING, 0, a, "%s: gethostname() failed to determine ServerName", ap_server_argv0); } Loading @@ -1900,7 +1900,7 @@ char *ap_get_local_host(apr_pool_t *a) if (!server_hostname) server_hostname = apr_pstrdup(a, "127.0.0.1"); ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO|APLOG_STARTUP, 0, NULL, ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO|APLOG_STARTUP, 0, a, "%s: Could not determine the server's fully qualified " "domain name, using %s for ServerName", ap_server_argv0, server_hostname); Loading