comparison src/http/ngx_http.c @ 170:4ad13ee5ef5e NGINX_0_3_32

nginx 0.3.32 *) Bugfix: the debug logging on startup and reconfiguration time was removed; bug appeared in 0.3.31.
author Igor Sysoev <http://sysoev.ru>
date Sat, 11 Mar 2006 00:00:00 +0300
parents 3314be145cb9
children 4cd3e70c4d60
comparison
equal deleted inserted replaced
169:cd4e0ec3946a 170:4ad13ee5ef5e
578 } 578 }
579 579
580 name = in_addr[a].names.elts; 580 name = in_addr[a].names.elts;
581 for (s = 0; s < in_addr[a].names.nelts; s++) { 581 for (s = 0; s < in_addr[a].names.nelts; s++) {
582 582
583 ngx_log_error(NGX_LOG_ALERT, cf->log, 0,
584 "server name \"%V\"", &name[s].name);
585
586 ch = name[s].name.data[0]; 583 ch = name[s].name.data[0];
587 584
588 if (ch == '*' || ch == '.') { 585 if (ch == '*' || ch == '.') {
589 continue; 586 continue;
590 } 587 }
602 &name[s].name); 599 &name[s].name);
603 } 600 }
604 } 601 }
605 602
606 for (s = 0; s < in_addr[a].names.nelts; s++) { 603 for (s = 0; s < in_addr[a].names.nelts; s++) {
607
608 ngx_log_error(NGX_LOG_ALERT, cf->log, 0,
609 "wildcard server name \"%V\"", &name[s].name);
610 604
611 ch = name[s].name.data[0]; 605 ch = name[s].name.data[0];
612 606
613 if (ch != '*' && ch != '.') { 607 if (ch != '*' && ch != '.') {
614 continue; 608 continue;