From 659360b3663ebd8aea7cb05b235c36897016bb9b Mon Sep 17 00:00:00 2001 From: Unbit Date: Tue, 25 Jun 2013 18:23:33 +0200 Subject: [PATCH] fixed php status line --- plugins/php/php_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/php_plugin.c b/plugins/php/php_plugin.c index c7173580..d42261f6 100644 --- a/plugins/php/php_plugin.c +++ b/plugins/php/php_plugin.c @@ -96,7 +96,7 @@ static int sapi_uwsgi_send_headers(sapi_headers_struct *sapi_headers) } else { char *sl = SG(sapi_headers).http_status_line; - uwsgi_response_prepare_headers(wsgi_req, sl + 8 , strlen(sl) - 8); + uwsgi_response_prepare_headers(wsgi_req, sl + 9 , strlen(sl + 9)); } h = zend_llist_get_first_ex(&sapi_headers->headers, &pos);