Changeset 13546


Ignore:
Timestamp:
Oct 5, 2012, 4:10:12 PM (9 years ago)
Author:
jordan
Message:

(trunk libT) #5075 'magnet.c:163 should use MAX_WEBSEEDS, not MAX_TRACKERS' ... fixed. Thanks to cfpp2p for catching this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/magnet.c

    r12915 r13546  
    161161            }
    162162
    163             if( ( keylen==2 ) && !memcmp( key, "ws", 2 ) && ( wsCount < MAX_TRACKERS ) )
     163            if( ( vallen > 0 ) && ( keylen==2 ) && !memcmp( key, "ws", 2 ) && ( wsCount < MAX_WEBSEEDS ) )
    164164                ws[wsCount++] = tr_http_unescape( val, vallen );
    165165
Note: See TracChangeset for help on using the changeset viewer.