]> git.kaiwu.me - nginx.git/commitdiff
Fixed build without SSL, broken by c82b2e020b9f.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Dec 2013 19:13:13 +0000 (23:13 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Dec 2013 19:13:13 +0000 (23:13 +0400)
src/http/modules/ngx_http_uwsgi_module.c

index 4e467478eb6ff06ba899550a092c5427e68767b1..a0a7715d8dc8d24ccae267567aa00ee33af1458d 100644 (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 {