commit | 86b915901a7174298c4997004b562a75726a1068 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Dec 27 20:32:43 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Dec 27 20:32:43 2007 +0000 |
tree | 60063af33b3d1bbdd77706933c1946c70e951732 | |
parent | ce5d6e3237bf57f8773c00178e166c8e7cfe986c [diff] [blame] |
optimization
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index e30fda2..0af34e3 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c
@@ -982,7 +982,7 @@ of.events = clcf->open_file_cache_events; if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) - == NGX_ERROR) + != NGX_OK) { if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err,