Mercurial > hg > nginx
diff src/core/ngx_module.c @ 6394:5fe617f38222
Dynamic modules: fixed a version mismatch message (ticket #898).
Based on a patch by Takashi Takizawa.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 11 Feb 2016 18:46:46 +0300 |
parents | 85dea406e18f |
children | ce946e0976dc |
line wrap: on
line diff
--- a/src/core/ngx_module.c +++ b/src/core/ngx_module.c @@ -171,7 +171,7 @@ ngx_add_module(ngx_conf_t *cf, ngx_str_t if (module->version != nginx_version) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "module \"%V\" version %ui instead of %ui", - file, module->version, nginx_version); + file, module->version, (ngx_uint_t) nginx_version); return NGX_ERROR; }