mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
xlC doesn't obey C99 comments here. autoconf isn't invoking full C99
mode.
This commit is contained in:
parent
c4dc335341
commit
c2e5e22c4c
@ -226,7 +226,7 @@ http_readcb(struct bufferevent *bev, void *arg)
|
||||
struct evhttp_request *req = evhttp_request_new(NULL, NULL);
|
||||
enum message_read_status done;
|
||||
|
||||
//req->kind = EVHTTP_RESPONSE;
|
||||
/* req->kind = EVHTTP_RESPONSE; */
|
||||
done = evhttp_parse_firstline(req, bufferevent_get_input(bev));
|
||||
if (done != ALL_DATA_READ)
|
||||
goto out;
|
||||
@ -506,7 +506,7 @@ http_badreq_readcb(struct bufferevent *bev, void *arg)
|
||||
struct evhttp_request *req = evhttp_request_new(NULL, NULL);
|
||||
enum message_read_status done;
|
||||
|
||||
//req->kind = EVHTTP_RESPONSE;
|
||||
/* req->kind = EVHTTP_RESPONSE; */
|
||||
done = evhttp_parse_firstline(req, bufferevent_get_input(bev));
|
||||
if (done != ALL_DATA_READ)
|
||||
goto out;
|
||||
@ -2521,7 +2521,7 @@ http_chunked_errorcb(struct bufferevent *bev, short what, void *arg)
|
||||
const char *header;
|
||||
enum message_read_status done;
|
||||
|
||||
//req->kind = EVHTTP_RESPONSE;
|
||||
/* req->kind = EVHTTP_RESPONSE; */
|
||||
done = evhttp_parse_firstline(req, bufferevent_get_input(bev));
|
||||
if (done != ALL_DATA_READ)
|
||||
goto out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user