Changeset 3834


Ignore:
Timestamp:
Nov 16, 2007, 6:37:01 AM (15 years ago)
Author:
charles
Message:

fix benocde crash reported by Gimp_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r3831 r3834  
    418418
    419419        case TYPE_STR:
    420             evbuffer_add_printf( out, "%i:", (int)val->val.i );
    421             if( val->val.s.s != NULL )
    422                 evbuffer_add( out, val->val.s.s, val->val.i );
     420            evbuffer_add_printf( out, "%i:", val->val.s.i );
     421            evbuffer_add( out, val->val.s.s, val->val.s.i );
    423422            break;
    424423
Note: See TracChangeset for help on using the changeset viewer.