Ignore:
Timestamp:
Jan 3, 2011, 3:01:12 AM (11 years ago)
Author:
charles
Message:

(trunk libT) fix crash reported by KyleK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r11614 r11624  
    775775}
    776776
     777int
     778tr_strcmp0( const char * str1, const char * str2 )
     779{
     780    if( str1 && str2 ) return strcmp( str1, str2 );
     781    if( str1 ) return 1;
     782    if( str2 ) return -1;
     783    return 0;
     784}
     785
    777786/****
    778787*****
Note: See TracChangeset for help on using the changeset viewer.