Changeset 0688e99


Ignore:
Timestamp:
2012-11-05T08:46:06Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8e3b7ac
Parents:
e08ae0c
Message:

Type safety check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    re08ae0c r0688e99  
    189189}
    190190
     191/* TODO: NULL means failure, but not always that the connection is dead. This sucks for callers. */
    191192static json_value *twitter_parse_response(struct im_connection *ic, struct http_request *req)
    192193{
     
    267268
    268269        for (i = 0; i < c->u.array.length; i ++) {
     270                if (c->u.array.values[i]->type != json_integer)
     271                        continue;
     272               
    269273                txl->list = g_slist_prepend(txl->list,
    270274                        g_strdup_printf("%ld", c->u.array.values[i]->u.integer));
Note: See TracChangeset for help on using the changeset viewer.