Ignore:
Timestamp:
Aug 20, 2008, 6:42:45 PM (13 years ago)
Author:
charles
Message:

make tr_bencDictFindType() private.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent-ctor.c

    r6425 r6600  
    107107    /* if no `name' field was set, then set it from the filename */
    108108    if( ctor->isSet_metainfo ) {
    109         tr_benc * info = tr_bencDictFindType( &ctor->metainfo, "info", TYPE_DICT );
    110         if( info ) {
     109        tr_benc * info;
     110        if( tr_bencDictFindDict( &ctor->metainfo, "info", &info ) ) {
    111111            tr_benc * name = tr_bencDictFindFirst( info, "name.utf-8", "name", NULL );
    112112            if( name == NULL )
Note: See TracChangeset for help on using the changeset viewer.