mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 06:16:10 -04:00
r16508@catbus: nickm | 2007-11-07 02:01:03 -0500
Note a dubious point in http.c svn:r496
This commit is contained in:
parent
7feba57010
commit
1f50f41283
2
http.c
2
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);
|
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) {
|
if (EVBUFFER_LENGTH(req->output_buffer) >= 0) {
|
||||||
/*
|
/*
|
||||||
* For a request, we add the POST data, for a reply, this
|
* For a request, we add the POST data, for a reply, this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user