Changeset cfbecc9 for protocols/twitter
- Timestamp:
- 2013-01-06T12:09:35Z (12 years ago)
- Branches:
- master
- Children:
- a906b77
- Parents:
- 62a2bf9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
r62a2bf9 rcfbecc9 193 193 g_free(msg); 194 194 } else if (info->stage == OAUTH_ACCESS_TOKEN) { 195 const char *sn; 196 195 197 if (info->token == NULL || info->token_secret == NULL) { 196 198 imcb_error(ic, "OAuth error: %s", twitter_parse_error(info->http)); 197 199 imc_logout(ic, TRUE); 198 200 return FALSE; 199 } else {200 const char *sn = oauth_params_get(&info->params, "screen_name");201 202 if ( sn != NULL && ic->acc->prpl->handle_cmp(sn, ic->acc->user) != 0) {201 } 202 203 if ((sn = oauth_params_get(&info->params, "screen_name"))) { 204 if (ic->acc->prpl->handle_cmp(sn, ic->acc->user) != 0) 203 205 imcb_log(ic, "Warning: You logged in via OAuth as %s " 204 "instead of %s.", sn, ic->acc->user); 205 } 206 "instead of %s.", sn, ic->acc->user); 206 207 g_free(td->user); 207 208 td->user = g_strdup(sn);
Note: See TracChangeset
for help on using the changeset viewer.