Changeset 7360


Ignore:
Timestamp:
Dec 12, 2008, 2:26:33 AM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_bencDictMerge() support limited nested merges

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r7359 r7360  
    13561356            int64_t i64;
    13571357            const char * str;
     1358            tr_benc * t;
    13581359
    13591360            if( tr_bencGetInt( val, &i64 ) )
     
    13671368                tr_bencDictAddStr( target, key, str );
    13681369            }
     1370            else if( tr_bencIsDict( val ) && tr_bencDictFindDict( target, key, &t ) )
     1371            {
     1372                tr_bencMergeDicts( t, val );
     1373            }
    13691374            else
    13701375            {
    1371                 tr_err( "tr_bencMergeDicts skipping \"%s\"", key );
     1376           
     1377                tr_dbg( "tr_bencMergeDicts skipping \"%s\"", key );
    13721378            }
    13731379        }
Note: See TracChangeset for help on using the changeset viewer.