Fixed build without SSL, broken by c82b2e020b9f.

This commit is contained in:
Maxim Dounin 2013-12-04 23:13:13 +04:00
parent 1cdeb3d629
commit 67d71fe514
1 changed files with 3 additions and 3 deletions

View File

@ -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 {