Mercurial > hg > nginx
diff src/core/ngx_file.c @ 2536:a6d6d762c554
small optimization: " == NGX_ERROR" > " != NGX_OK"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 24 Feb 2009 10:42:23 +0000 |
parents | dbe746851b31 |
children | 3a8a53c0c42f |
line wrap: on
line diff
--- a/src/core/ngx_file.c Tue Feb 24 08:32:02 2009 +0000 +++ b/src/core/ngx_file.c Tue Feb 24 10:42:23 2009 +0000 @@ -259,7 +259,7 @@ path->name.len--; } - if (ngx_conf_full_name(cf->cycle, &path->name, 0) == NGX_ERROR) { + if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { return NULL; }