[nginx] Fixed build without SSL, broken by c82b2e020b9f.

Maxim Dounin mdounin at mdounin.ru
Wed Dec 4 20:20:29 UTC 2013


details:   http://hg.nginx.org/nginx/rev/4a71ef1aa36d
branches:  
changeset: 5458:4a71ef1aa36d
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Wed Dec 04 23:13:13 2013 +0400
description:
Fixed build without SSL, broken by c82b2e020b9f.

diffstat:

 src/http/modules/ngx_http_uwsgi_module.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -584,9 +584,9 @@ ngx_http_uwsgi_eval(ngx_http_request_t *
         add = 9;
         r->upstream->ssl = 1;
 #else
-        ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                           "suwsgi protocol requires SSL support");
-        return NGX_CONF_ERROR;
+        ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
+                      "suwsgi protocol requires SSL support");
+        return NGX_ERROR;
 #endif
 
     } else {



More information about the nginx-devel mailing list