Changeset 8157


Ignore:
Timestamp:
Apr 5, 2009, 9:33:06 PM (13 years ago)
Author:
charles
Message:

(trunk libT) update one of the validity tests to understand the bool and double types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r8155 r8157  
    4848isSomething( const tr_benc * val )
    4949{
    50     return isContainer( val ) || tr_bencIsInt( val ) || tr_bencIsString( val );
     50    return isContainer( val ) || tr_bencIsInt( val )
     51                              || tr_bencIsString( val )
     52                              || tr_bencIsReal( val )
     53                              || tr_bencIsBool( val );
    5154}
    5255
Note: See TracChangeset for help on using the changeset viewer.