Skip to content
Browse files

Correct list '%' sequences to match man page.

  • Loading branch information...
1 parent 76c4947 commit f366f8969ca70e269449c694549f87e90d76c9fc @queueRAM queueRAM committed Jul 29, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 cli/list.c
View
4 cli/list.c
@@ -113,7 +113,7 @@ print_items(struct items* itms, char *format)
case 'D': printf("%lld", p->downloaded); break;
case 'H': printf("%u", p->pieces_have); break;
case 'P': printf("%u", p->peers); break;
- case 'S': printf("%c", p->st); break;
+ case 'S': printf("%lld", p->csize); break;
case 'U': printf("%lld", p->uploaded); break;
case 'T': printf("%u", p->torrent_pieces); break;
@@ -124,7 +124,7 @@ print_items(struct items* itms, char *format)
case 'p': print_percent(p->cgot, p->csize); break;
case 'r': print_ratio(p->totup, p->csize); break;
case 's': print_size(p->csize); break;
- case 't': printf("%lld", p->csize); break;
+ case 't': printf("%c", p->st); break;
case 'u': printf("%lld", p->totup); break;
case 'v': printf("%lld", p->rate_down); break;

0 comments on commit f366f89

Please sign in to comment.
Something went wrong with that request. Please try again.