X-Git-Url: http://git.rot13.org/?p=nginx.git;a=blobdiff_plain;f=nginx%2Fsrc%2Fhttp%2Fmodules%2Fngx_http_log_module.c;h=93ff905685ce0c3934ca810cf9e511ff77de0eba;hp=7a85d1b75b2b02277eeffde65ecc41c0be92c259;hb=refs%2Ftags%2F0.7.39;hpb=ce73043f2886947385224e3e77da24a2bb1643b1 diff --git a/nginx/src/http/modules/ngx_http_log_module.c b/nginx/src/http/modules/ngx_http_log_module.c index 7a85d1b..93ff905 100644 --- a/nginx/src/http/modules/ngx_http_log_module.c +++ b/nginx/src/http/modules/ngx_http_log_module.c @@ -863,7 +863,7 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } } else { - if (ngx_conf_full_name(cf->cycle, &value[1], 0) == NGX_ERROR) { + if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { return NGX_CONF_ERROR; }