changeset 5458:4a71ef1aa36d

Fixed build without SSL, broken by c82b2e020b9f.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 04 Dec 2013 23:13:13 +0400
parents c82b2e020b9f
children fedf777c6b24
files src/http/modules/ngx_http_uwsgi_module.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 {