comparison src/http/ngx_http.c @ 1910:8c64532e4875

fix r1490
author Igor Sysoev <igor@sysoev.ru>
date Mon, 03 Mar 2008 16:44:56 +0000
parents e584e946e198
children cb8c0c8e0c27
comparison
equal deleted inserted replaced
1909:cbd321d1e1b3 1910:8c64532e4875
549 if (lscf[l].conf.default_server) { 549 if (lscf[l].conf.default_server) {
550 550
551 if (in_addr[a].default_server) { 551 if (in_addr[a].default_server) {
552 ngx_log_error(NGX_LOG_ERR, cf->log, 0, 552 ngx_log_error(NGX_LOG_ERR, cf->log, 0,
553 "the duplicate default server in %s:%ui", 553 "the duplicate default server in %s:%ui",
554 &lscf[l].file_name, lscf[l].line); 554 lscf[l].file_name, lscf[l].line);
555 555
556 return NGX_CONF_ERROR; 556 return NGX_CONF_ERROR;
557 } 557 }
558 558
559 in_addr[a].core_srv_conf = cscfp[s]; 559 in_addr[a].core_srv_conf = cscfp[s];