Changeset 67f6828 for protocols/twitter/twitter.c
- Timestamp:
- 2012-11-25T22:09:41Z (11 years ago)
- Branches:
- master
- Children:
- b235228
- Parents:
- f97b8e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
rf97b8e9 r67f6828 592 592 if (cmd[1] == NULL) 593 593 twitter_status_destroy(ic, td->last_status_id); 594 else if (sscanf(cmd[1], "%" G_G UINT64_FORMAT, &id) == 1) {594 else if (sscanf(cmd[1], "%" G_GINT64_MODIFIER "x", &id) == 1) { 595 595 if (id < TWITTER_LOG_LENGTH && td->log) 596 596 id = td->log[id].id; … … 627 627 posted the given ID if the user wants to do it that way */ 628 628 if (g_str_has_prefix(cmd[1], "#") && 629 sscanf(cmd[1] + 1, "%" G_G UINT64_FORMAT, &id) == 1) {629 sscanf(cmd[1] + 1, "%" G_GINT64_MODIFIER "x", &id) == 1) { 630 630 if (id < TWITTER_LOG_LENGTH && td->log) { 631 631 if (g_slist_find(ic->bee->users, td->log[id].bu)) { … … 655 655 656 656 if (g_str_has_prefix(cmd[1], "#") && 657 sscanf(cmd[1] + 1, "%" G_G UINT64_FORMAT, &id) == 1 &&657 sscanf(cmd[1] + 1, "%" G_GINT64_MODIFIER "x", &id) == 1 && 658 658 (id < TWITTER_LOG_LENGTH) && td->log) { 659 659 bu = td->log[id].bu; … … 665 665 (tud = bu->data) && tud->last_id) { 666 666 id = tud->last_id; 667 } else if (sscanf(cmd[1], "%" G_G UINT64_FORMAT, &id) == 1 &&667 } else if (sscanf(cmd[1], "%" G_GINT64_MODIFIER "x", &id) == 1 && 668 668 (id < TWITTER_LOG_LENGTH) && td->log) { 669 669 bu = td->log[id].bu;
Note: See TracChangeset
for help on using the changeset viewer.