Ignore:
Timestamp:
Oct 24, 2010, 5:52:38 AM (11 years ago)
Author:
charles
Message:

(trunk) #3663 "clang warnings in 2.11" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/magnet.c

    r11280 r11350  
    134134                vallen = strlen( val );
    135135
    136             if( ( keylen==2 ) && !memcmp( key, "xt", 2 ) && !memcmp( val, "urn:btih:", 9 ) )
     136            if( ( keylen==2 ) && !memcmp( key, "xt", 2 ) && val && !memcmp( val, "urn:btih:", 9 ) )
    137137            {
    138138                const char * hash = val + 9;
Note: See TracChangeset for help on using the changeset viewer.