projects
/
nginx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upstream nginx-0.7.39
[nginx.git]
/
nginx
/
src
/
core
/
ngx_log.c
diff --git
a/nginx/src/core/ngx_log.c
b/nginx/src/core/ngx_log.c
index
a9221db
..
f39f70f
100644
(file)
--- a/
nginx/src/core/ngx_log.c
+++ b/
nginx/src/core/ngx_log.c
@@
-329,7
+329,7
@@
ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
cf->cycle->new_log->file->name = value[1];
if (ngx_conf_full_name(cf->cycle, &cf->cycle->new_log->file->name, 0)
-
== NGX_ERROR
)
+
!= NGX_OK
)
{
return NGX_CONF_ERROR;
}