X-Git-Url: http://git.rot13.org/?p=nginx.git;a=blobdiff_plain;f=nginx%2Fsrc%2Fhttp%2Fmodules%2Fngx_http_map_module.c;h=d0eb02c649639f9d54964b290e2bd405a88ffeef;hp=c2459f271b5205887e7c3dd51e0a83c83276bcfb;hb=edef48fd7f4269957bc636301b0ffc73a16f9a4a;hpb=ce73043f2886947385224e3e77da24a2bb1643b1 diff --git a/nginx/src/http/modules/ngx_http_map_module.c b/nginx/src/http/modules/ngx_http_map_module.c index c2459f2..d0eb02c 100644 --- a/nginx/src/http/modules/ngx_http_map_module.c +++ b/nginx/src/http/modules/ngx_http_map_module.c @@ -374,7 +374,7 @@ ngx_http_map(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) if (ngx_strcmp(value[0].data, "include") == 0) { file = value[1]; - if (ngx_conf_full_name(cf->cycle, &file, 1) == NGX_ERROR){ + if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK){ return NGX_CONF_ERROR; }