From 8dc072732b7fe98fc8b9ae33748bacb31a5ec2ca Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Sat, 20 Oct 2012 19:45:09 +0200 Subject: [PATCH] fixed building on ubuntu quantal --- plugins/http/http.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/http/http.c b/plugins/http/http.c index 5e5cef1a..b85ee3a7 100644 --- a/plugins/http/http.c +++ b/plugins/http/http.c @@ -276,8 +276,6 @@ int http_parse(struct http_session *h_session, size_t http_req_len) { char *watermark = ptr + http_req_len; char *base = ptr; char *query_string = NULL; - char *protocol = NULL; - size_t protocol_len = 0; h_session->uwsgi_req = uwsgi_buffer_new(uwsgi.page_size); if (!h_session->uwsgi_req) return -1; @@ -334,8 +332,6 @@ int http_parse(struct http_session *h_session, size_t http_req_len) { if (*(ptr + 1) != '\n') return 0; if (http_add_uwsgi_var(h_session, "SERVER_PROTOCOL", 15, base, ptr - base)) return -1; - protocol = base; - protocol_len = ptr - base; ptr += 2; break; }