Changeset 3fbce97 for protocols/twitter/twitter_lib.c
- Timestamp:
- 2016-09-24T20:14:34Z (8 years ago)
- Children:
- ba52ac5
- Parents:
- 63cad66 (diff), 82cb190 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
r63cad66 r3fbce97 314 314 td = ic->proto_data; 315 315 316 // Parse the data. 317 if (!(parsed = twitter_parse_response(ic, req))) { 318 return; 319 } 320 316 321 txl = g_new0(struct twitter_xml_list, 1); 317 322 txl->list = td->follow_ids; 318 319 // Parse the data.320 if (!(parsed = twitter_parse_response(ic, req))) {321 return;322 }323 323 324 324 twitter_xt_get_friends_id_list(parsed, txl); … … 390 390 } 391 391 392 // Get the user list from the parsed xml feed. 393 if (!(parsed = twitter_parse_response(ic, req))) { 394 return; 395 } 396 392 397 txl = g_new0(struct twitter_xml_list, 1); 393 398 txl->list = NULL; 394 399 395 // Get the user list from the parsed xml feed.396 if (!(parsed = twitter_parse_response(ic, req))) {397 return;398 }399 400 twitter_xt_get_users(parsed, txl); 400 401 json_value_free(parsed); … … 1389 1390 td = ic->proto_data; 1390 1391 1391 txl = g_new0(struct twitter_xml_list, 1);1392 txl->list = NULL;1393 1394 1392 // The root <statuses> node should hold the list of statuses <status> 1395 1393 if (!(parsed = twitter_parse_response(ic, req))) { 1396 1394 goto end; 1397 1395 } 1396 1397 txl = g_new0(struct twitter_xml_list, 1); 1398 txl->list = NULL; 1399 1398 1400 twitter_xt_get_status_list(ic, parsed, txl); 1399 1401 json_value_free(parsed); … … 1428 1430 td = ic->proto_data; 1429 1431 1430 txl = g_new0(struct twitter_xml_list, 1);1431 txl->list = NULL;1432 1433 1432 // The root <statuses> node should hold the list of statuses <status> 1434 1433 if (!(parsed = twitter_parse_response(ic, req))) { 1435 1434 goto end; 1436 1435 } 1436 1437 txl = g_new0(struct twitter_xml_list, 1); 1438 txl->list = NULL; 1439 1437 1440 twitter_xt_get_status_list(ic, parsed, txl); 1438 1441 json_value_free(parsed);
Note: See TracChangeset
for help on using the changeset viewer.