diff --git a/http.c b/http.c index d190f0c4..c11df8e9 100644 --- a/http.c +++ b/http.c @@ -422,6 +422,8 @@ evhttp_make_header(struct evhttp_connection *evcon, struct evhttp_request *req) } evbuffer_add(evcon->output_buffer, "\r\n", 2); + /* XXX EVBUFFER_LENGTH returns an unsigned value, so this test + * is always true. What is the intent of this test? -NM */ if (EVBUFFER_LENGTH(req->output_buffer) >= 0) { /* * For a request, we add the POST data, for a reply, this