1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(trunk daemon) fix minor text formatting error in transmission-remote

This commit is contained in:
Charles Kerr 2009-11-30 02:00:41 +00:00
parent 0563580dda
commit 66ab7bff4a

View file

@ -1468,6 +1468,7 @@ printDetails( tr_benc * top )
if( tr_bencDictFindRaw( t, "pieces", &raw, &rawlen ) && tr_bencDictFindInt( t, "pieceCount", &j ) ) { if( tr_bencDictFindRaw( t, "pieces", &raw, &rawlen ) && tr_bencDictFindInt( t, "pieceCount", &j ) ) {
int len; int len;
char * str = tr_base64_decode( raw, rawlen, &len ); char * str = tr_base64_decode( raw, rawlen, &len );
printf( " " );
for( i=k=0; k<len; ++k ) { for( i=k=0; k<len; ++k ) {
int e; int e;
for( e=0; i<j && e<8; ++e, ++i ) for( e=0; i<j && e<8; ++e, ++i )