Modify ↓
Opened at 2011-05-31T19:58:01Z
Closed at 2011-06-12T00:00:50Z
#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
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
changeset:devel,797.