comparison src/http/modules/ngx_http_log_module.c @ 380:bc21d9cd9c54 NGINX_0_7_2

nginx 0.7.2 *) Feature: now nginx supports EDH key exchange ciphers. *) Feature: the "ssl_dhparam" directive. *) Feature: the $ssl_client_cert variable. Thanks to Manlio Perillo. *) Bugfix: after changing URI via a "rewrite" directive nginx did not search a new location; bug appeared in 0.7.1. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built without PCRE library; bug appeared in 0.7.1. *) Bugfix: when a request to a directory was redirected with the slash added, nginx dropped a query string from the original request.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Jun 2008 00:00:00 +0400
parents edf1cb6c328e
children 984bb0b1399b
comparison
equal deleted inserted replaced
379:9d9dad60269f 380:bc21d9cd9c54
795 fmt = lmcf->formats.elts; 795 fmt = lmcf->formats.elts;
796 for (i = 0; i < lmcf->formats.nelts; i++) { 796 for (i = 0; i < lmcf->formats.nelts; i++) {
797 if (fmt[i].name.len == value[1].len 797 if (fmt[i].name.len == value[1].len
798 && ngx_strcmp(fmt[i].name.data, value[1].data) == 0) 798 && ngx_strcmp(fmt[i].name.data, value[1].data) == 0)
799 { 799 {
800 return "duplicate \"log_format\" name"; 800 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
801 "duplicate \"log_format\" name \"%V\"",
802 &value[1]);
803 return NGX_CONF_ERROR;
801 } 804 }
802 } 805 }
803 806
804 fmt = ngx_array_push(&lmcf->formats); 807 fmt = ngx_array_push(&lmcf->formats);
805 if (fmt == NULL) { 808 if (fmt == NULL) {