comparison src/http/modules/ngx_http_uwsgi_module.c @ 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 58716fd3bd2d
comparison
equal deleted inserted replaced
5457:c82b2e020b9f 5458:4a71ef1aa36d
582 582
583 #if (NGX_HTTP_SSL) 583 #if (NGX_HTTP_SSL)
584 add = 9; 584 add = 9;
585 r->upstream->ssl = 1; 585 r->upstream->ssl = 1;
586 #else 586 #else
587 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 587 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
588 "suwsgi protocol requires SSL support"); 588 "suwsgi protocol requires SSL support");
589 return NGX_CONF_ERROR; 589 return NGX_ERROR;
590 #endif 590 #endif
591 591
592 } else { 592 } else {
593 add = 0; 593 add = 0;
594 } 594 }