Changeset 4f50ea5


Ignore:
Timestamp:
2011-03-29T20:57:54Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
15bc063
Parents:
ce81acd
Message:

Allow using the new 2-digit id's for retweets.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rce81acd r4f50ea5  
    508508                        id = tud->last_id;
    509509                else
     510                {
    510511                        id = g_ascii_strtoull( cmd[1], NULL, 10 );
     512                        if( id < TWITTER_LOG_LENGTH )
     513                                id = td->log[id].id;
     514                }
    511515               
    512516                td->last_status_id = 0;
  • protocols/twitter/twitter.h

    rce81acd r4f50ea5  
    7373{
    7474        guint64 id;
    75         struct bee_user *bu;
     75        struct bee_user *bu; /* DANGER: can be a dead pointer. Check it first. */
    7676};
    7777
Note: See TracChangeset for help on using the changeset viewer.