Changeset 1428


Ignore:
Timestamp:
Jan 23, 2007, 8:54:54 PM (16 years ago)
Author:
titer
Message:

Should fix #193

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r1425 r1428  
    988988
    989989    val1 = tr_bencDictFind( &scrape, "files" );
    990     if( !val1 )
     990    if( !val1 || val1->type != TYPE_DICT || val1->val.l.count < 1 )
    991991    {
    992992        tr_bencFree( &scrape );
     
    994994    }
    995995    val1 = &val1->val.l.vals[1];
    996     if( !val1 )
    997     {
    998         tr_bencFree( &scrape );
    999         return;
    1000     }
    1001996   
    1002997    val2 = tr_bencDictFind( val1, "complete" );
Note: See TracChangeset for help on using the changeset viewer.