mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 19:42:39 +08:00
Dynamic modules: fixed a version mismatch message (ticket #898).
Based on a patch by Takashi Takizawa.
This commit is contained in:
parent
f1f419fd2c
commit
3b9b07377b
@ -171,7 +171,7 @@ ngx_add_module(ngx_conf_t *cf, ngx_str_t *file, ngx_module_t *module,
|
|||||||
if (module->version != nginx_version) {
|
if (module->version != nginx_version) {
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"module \"%V\" version %ui instead of %ui",
|
"module \"%V\" version %ui instead of %ui",
|
||||||
file, module->version, nginx_version);
|
file, module->version, (ngx_uint_t) nginx_version);
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user