mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
#5134 Magnet links not adding all trackers with tr.0=
This commit is contained in:
parent
dbaf0bcbeb
commit
6bebaee639
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ tr_magnetParse( const char * uri )
|
|||
int i;
|
||||
if( ( keylen==2 ) && !memcmp( key, "tr", 2 ) )
|
||||
tr[trCount++] = tr_http_unescape( val, vallen );
|
||||
else if( ( sscanf( key, "tr.%d=", &i ) == 1 ) && ( i > 0 ) ) /* ticket #3341 */
|
||||
else if( ( sscanf( key, "tr.%d=", &i ) == 1 ) && ( i >= 0 ) ) /* ticket #3341 and #5134 */
|
||||
tr[trCount++] = tr_http_unescape( val, vallen );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue