mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
fix torrent metafile creation error introduced in trunk in r3735 and reported by tiennou in ticket #478
This commit is contained in:
parent
cc42c8aaf6
commit
815fb89b91
1 changed files with 2 additions and 1 deletions
|
@ -417,7 +417,8 @@ saveImpl( struct evbuffer * out, const benc_val_t * val )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TYPE_STR:
|
case TYPE_STR:
|
||||||
evbuffer_add_printf( out, "%i:%s", (int)val->val.i, val->val.s.s );
|
evbuffer_add_printf( out, "%i:", (int)val->val.i );
|
||||||
|
evbuffer_add( out, val->val.s.s, val->val.i );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TYPE_LIST:
|
case TYPE_LIST:
|
||||||
|
|
Loading…
Reference in a new issue