# HG changeset patch # User Maxim Dounin # Date 1386184393 -14400 # Node ID 4a71ef1aa36d08e1832dbcb1fc93e67857958be8 # Parent c82b2e020b9f55aff4135747ca228af8851598dd Fixed build without SSL, broken by c82b2e020b9f. 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 {