diff options
Diffstat (limited to 'protocols/twitter/twitter_lib.c')
-rw-r--r-- | protocols/twitter/twitter_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index 699bac27..05990cc1 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -889,7 +889,7 @@ static void twitter_http_get_home_timeline(struct http_request *req) } else if (req->status_code == 401) { imcb_error(ic, "Authentication failure"); imc_logout(ic, FALSE); - goto end; + return; } else { // It didn't go well, output the error and return. if (++td->http_fails >= 5) @@ -941,7 +941,7 @@ static void twitter_http_get_mentions(struct http_request *req) } else if (req->status_code == 401) { imcb_error(ic, "Authentication failure"); imc_logout(ic, FALSE); - goto end; + return; } else { // It didn't go well, output the error and return. if (++td->http_fails >= 5) |