Changeset 3828


Ignore:
Timestamp:
Nov 15, 2007, 3:07:05 PM (14 years ago)
Author:
charles
Message:

fix torrent metafile creation error introduced in trunk in r3735 and reported by tiennou in ticket #478

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r3775 r3828  
    418418
    419419        case TYPE_STR:
    420             evbuffer_add_printf( out, "%i:%s", (int)val->val.i, val->val.s.s );
     420            evbuffer_add_printf( out, "%i:", (int)val->val.i );
     421            evbuffer_add( out, val->val.s.s, val->val.i );
    421422            break;
    422423
Note: See TracChangeset for help on using the changeset viewer.