diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-02-24 13:42:23 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-02-24 13:42:23 +0300 |
commit | 1f4220ee869152938d9140c471c37be628532344 (patch) | |
tree | bb17b08acf1f50770fec0846cd6202a593b93674 /src/core/ngx_log.c | |
parent | 9b4a1d00941db4b85fc2ffe7424b706b56f7133f (diff) |
small optimization: " == NGX_ERROR" > " != NGX_OK"
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index a9221db6e..f39f70f93 100644 --- a/src/core/ngx_log.c +++ b/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; } |