From 3f63caa5eb76ce833d6545ceddcee33d45536974 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Wed, 24 Oct 2012 07:13:33 +0200 Subject: [PATCH] fixed a typo --- plugins/http/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/http/http.c b/plugins/http/http.c index 9877bc03..33a15176 100644 --- a/plugins/http/http.c +++ b/plugins/http/http.c @@ -163,7 +163,7 @@ struct http_session { #endif struct uwsgi_buffer *uwsgi_req; - int send_excpect_100; + int send_expect_100; in_addr_t ip_addr; char ip[INET_ADDRSTRLEN]; @@ -407,7 +407,7 @@ int http_parse(struct http_session *h_session, size_t http_req_len) { // this is an hack with dumb/wrong/useless error checking if (uhttp.manage_expect) { if (!uwsgi_strncmp("Expect: 100-continue", 20, base, ptr - base)) { - h_session->send_excpect_100 = 1; + h_session->send_expect_100 = 1; } } if (http_add_uwsgi_header(h_session, base, ptr - base)) return -1;