mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Merge pull request #37 from ppelleti/fix-indentation
fix some hinky indentation in evhttp_make_request
This commit is contained in:
commit
f0a68a25ca
4
http.c
4
http.c
@ -2412,8 +2412,8 @@ evhttp_make_request(struct evhttp_connection *evcon,
|
|||||||
int res = evhttp_connection_connect_(evcon);
|
int res = evhttp_connection_connect_(evcon);
|
||||||
/* evhttp_connection_fail_(), which is called through
|
/* evhttp_connection_fail_(), which is called through
|
||||||
* evhttp_connection_connect_(), assumes that req lies in
|
* evhttp_connection_connect_(), assumes that req lies in
|
||||||
* evcon->requests. Thus, enqueue the request in advance and r
|
* evcon->requests. Thus, enqueue the request in advance and
|
||||||
* it in the error case. */
|
* remove it in the error case. */
|
||||||
if (res != 0)
|
if (res != 0)
|
||||||
TAILQ_REMOVE(&evcon->requests, req, next);
|
TAILQ_REMOVE(&evcon->requests, req, next);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user