aboutsummaryrefslogtreecommitdiffstats
path: root/lib/http_client.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-09-22 13:44:47 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2012-09-22 13:44:47 +0100
commit11ec07811cc41e1b244467d25772ef021be9db1b (patch)
tree007b2e6b223bd9f6682fdfd21d3d1738b9abd71c /lib/http_client.c
parentd0752e8b08d37395fd036046552fa6b4fb92ac17 (diff)
Since I can't figure out where the stalls are coming from at this point, at
least have a work-around for it. After hitting the Twitter timer a few times while a previous fetch still seems to be running, close the connection. Auto-reconnect will do the rest.
Diffstat (limited to 'lib/http_client.c')
-rw-r--r--lib/http_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_client.c b/lib/http_client.c
index 6e7c7b72..7ed539d0 100644
--- a/lib/http_client.c
+++ b/lib/http_client.c
@@ -72,7 +72,7 @@ struct http_request *http_dorequest( char *host, int port, int ssl, char *reques
if( getenv( "BITLBEE_DEBUG" ) )
printf( "About to send HTTP request:\n%s\n", req->request );
- return( req );
+ return req;
}
struct http_request *http_dorequest_url( char *url_string, http_input_function func, gpointer data )