Changeset 13198


Ignore:
Timestamp:
Feb 4, 2012, 12:34:39 AM (7 years ago)
Author:
jordan
Message:

(trunk libT) #4687 "magnet links behave oddly" -- fixed. Thanks to cfpp2p for some very nice sleuthing on this one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r12463 r13198  
    15941594                }
    15951595            }
     1596            else if( tr_bencIsDict( val ) )
     1597            {
     1598                tr_benc * target_dict = tr_bencDictFind( target, key );
     1599
     1600                if( target_dict == NULL )
     1601                    target_dict = tr_bencDictAddDict( target, key, tr_bencDictSize( val ) );
     1602
     1603                if( tr_bencIsDict( target_dict ) )
     1604                    tr_bencMergeDicts( target_dict, val );
     1605            }
    15961606            else
    15971607            {
Note: See TracChangeset for help on using the changeset viewer.