[nginx] Dynamic modules: fixed a version mismatch message (ticke...

Ruslan Ermilov ru at nginx.com
Thu Feb 11 15:52:52 UTC 2016


details:   http://hg.nginx.org/nginx/rev/5fe617f38222
branches:  
changeset: 6394:5fe617f38222
user:      Ruslan Ermilov <ru at nginx.com>
date:      Thu Feb 11 18:46:46 2016 +0300
description:
Dynamic modules: fixed a version mismatch message (ticket #898).

Based on a patch by Takashi Takizawa.

diffstat:

 src/core/ngx_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 70e6e1f12dee -r 5fe617f38222 src/core/ngx_module.c
--- a/src/core/ngx_module.c	Thu Feb 11 14:20:26 2016 +0300
+++ b/src/core/ngx_module.c	Thu Feb 11 18:46:46 2016 +0300
@@ -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;
     }
 



More information about the nginx-devel mailing list