Changes in protocols/twitter/twitter_lib.c [7a80925:2f9027c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
r7a80925 r2f9027c 164 164 165 165 if (req->body_size > 0) { 166 root = json_parse(req->reply_body , req->body_size);166 root = json_parse(req->reply_body); 167 167 err = json_o_get(root, "errors"); 168 168 if (err && err->type == json_array && (err = err->u.array.values[0]) && … … 220 220 } 221 221 222 if ((ret = json_parse(req->reply_body , req->body_size)) == NULL) {222 if ((ret = json_parse(req->reply_body)) == NULL) { 223 223 imcb_error(ic, "Could not retrieve %s: %s", 224 224 path, "XML parse error"); … … 263 263 264 264 txl->list = g_slist_prepend(txl->list, 265 g_strdup_printf("% " PRIu64, c->u.array.values[i]->u.integer));265 g_strdup_printf("%lld", c->u.array.values[i]->u.integer)); 266 266 } 267 267 … … 773 773 req->reply_body[len] = '\0'; 774 774 775 if ((parsed = json_parse(req->reply_body , req->body_size))) {775 if ((parsed = json_parse(req->reply_body))) { 776 776 twitter_stream_handle_object(ic, parsed); 777 777 }
Note: See TracChangeset
for help on using the changeset viewer.