Changeset dc45a85 for protocols/twitter


Ignore:
Timestamp:
2016-07-25T23:42:32Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
be23a64
Parents:
57f81ec
git-author:
dequis <dx@…> (25-07-16 07:39:10)
git-committer:
dequis <dx@…> (25-07-16 23:42:32)
Message:

twitter: don't hard-fail with mutes or noretweets (for "identica")

Fixes trac ticket 1254

Kinda dirty but better than keeping it broken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r57f81ec rdc45a85  
    384384        td = ic->proto_data;
    385385
     386        if (req->status_code != 200) {
     387                /* Fail silently */
     388                return;
     389        }
     390
    386391        // Parse the data.
    387392        if (!(parsed = twitter_parse_response(ic, req))) {
     
    419424        // Check if the connection is stil active
    420425        if (!g_slist_find(twitter_connections, ic)) {
     426                return;
     427        }
     428
     429        if (req->status_code != 200) {
     430                /* Fail silently */
    421431                return;
    422432        }
Note: See TracChangeset for help on using the changeset viewer.