Mercurial > hg > nginx
diff src/http/modules/ngx_http_log_handler.c @ 102:7e86d028d8f0
nginx-0.0.1-2003-06-06-18:59:20 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Jun 2003 14:59:20 +0000 |
parents | 7ebc8b7fb816 |
children | 571bcbff82c5 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_handler.c +++ b/src/http/modules/ngx_http_log_handler.c @@ -202,7 +202,7 @@ static char *ngx_http_log_set_log(ngx_co if (ngx_file_append_mode(lcf->file.fd) == NGX_ERROR) { err = ngx_errno; len = ngx_snprintf(ngx_conf_errstr, sizeof(ngx_conf_errstr) - 1, - ngx_file_appned_mode_n " \"%s\" failed (%d: ", + ngx_file_append_mode_n " \"%s\" failed (%d: ", lcf->file.name.data, err); len += ngx_strerror_r(err, ngx_conf_errstr + len, sizeof(ngx_conf_errstr) - len - 1);