Changeset de923d5 for protocols/twitter/twitter.c
- Timestamp:
- 2011-06-11T17:11:08Z (13 years ago)
- Branches:
- master
- Children:
- c0f33f1
- Parents:
- 5f74987
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
r5f74987 rde923d5 83 83 !(td->flags & TWITTER_HAVE_FRIENDS)) { 84 84 imcb_log(ic, "Getting contact list"); 85 twitter_get_statuses_friends(ic, -1); 85 twitter_get_friends_ids(ic, -1); 86 //twitter_get_statuses_friends(ic, -1); 86 87 } else 87 88 twitter_main_loop_start(ic); … … 168 169 "instead of %s.", sn, ic->acc->user); 169 170 } 171 g_free(td->user); 172 td->user = g_strdup(sn); 170 173 } 171 174 … … 257 260 td = g_new0(struct twitter_data, 1); 258 261 ic->proto_data = td; 262 td->user = g_strdup(acc->user); 259 263 260 264 td->url_ssl = url.proto == PROTO_HTTPS; … … 270 274 td->prefix = g_strdup(url.host); 271 275 272 td->flags |= TWITTER_HAVE_FRIENDS;273 td->user = acc->user;274 276 if (strstr(acc->pass, "oauth_token=")) 275 277 td->oauth_info = oauth_from_string(acc->pass, get_oauth_service(ic)); … … 305 307 if (td) { 306 308 oauth_info_free(td->oauth_info); 309 g_free(td->user); 307 310 g_free(td->prefix); 308 311 g_free(td->url_host); 309 312 g_free(td->url_path); 310 g_free(td->pass);311 313 g_free(td->log); 312 314 g_free(td);
Note: See TracChangeset
for help on using the changeset viewer.