Modify

#793 closed defect (fixed)

Twitter items with id 0 are considered to not exist.

Reported by: Isaac Good Owned by:
Priority: normal Milestone:
Component: BitlBee Version: devel
Keywords: id 0 twitter Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

bzr 789 twitter id zero is used to indicate "no such item" but can be a valid item id. Either you start using -1/MAX for null or go from item 99 to 01.

In twitter_handle_command() you assign id then test if(id) ... -> id may be zero and a valid item. Can do: if(id != -1) or if(id != MAX_INT_WHATEVER) or use another variable for a success flag.

Attachments (0)

Change History (1)

comment:1 Changed at 2011-06-12T00:00:50Z by wilmer

Resolution: fixed
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.