From 985430aed122a8c61ca7260779940d523f78ce23 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 3 Nov 2010 15:17:57 -0400 Subject: [PATCH] Remove need for http_compat.h in http tests --- test/regress_http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/regress_http.c b/test/regress_http.c index e93f041d..bf82a8b5 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -54,7 +54,6 @@ #include "event2/event.h" #include "event2/http.h" -#include "event2/http_compat.h" #include "event2/buffer.h" #include "event2/bufferevent.h" #include "log-internal.h" @@ -347,7 +346,7 @@ http_chunked_cb(struct evhttp_request *req, void *arg) state->req = req; state->base = arg; - if (strcmp(evhttp_request_uri(req), "/streamed") == 0) { + if (strcmp(evhttp_request_get_uri(req), "/streamed") == 0) { evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Length", "39"); }