aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_uwsgi_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-12-04 23:13:13 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-12-04 23:13:13 +0400
commit67b0d1654668b0713b349e05b420a1a5dc7dd62e (patch)
treeea3f4d5a3f80779f0dc0e8f6ef85b45c2964fb8d /src/http/modules/ngx_http_uwsgi_module.c
parent24e1db93a81884db04c478959816402e0beb09f3 (diff)
downloadnginx-67b0d1654668b0713b349e05b420a1a5dc7dd62e.tar.gz
nginx-67b0d1654668b0713b349e05b420a1a5dc7dd62e.zip
Fixed build without SSL, broken by c82b2e020b9f.
Diffstat (limited to 'src/http/modules/ngx_http_uwsgi_module.c')
-rw-r--r--src/http/modules/ngx_http_uwsgi_module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c
index 4e467478e..a0a7715d8 100644
--- 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 *r, ngx_http_uwsgi_loc_conf_t * uwcf)
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 {