diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-07-07 13:19:37 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-07-07 13:19:37 +0000 |
| commit | b5cdaf06a9088e06fbb2ceee3850659e0737dac9 (patch) | |
| tree | 2327f2395cf9add4c9aaa2dfe2c252efb873b7af | |
| parent | f8a4999e4078d47da3196041e13952d7243fe0f5 (diff) | |
| download | btpd-b5cdaf06a9088e06fbb2ceee3850659e0737dac9.tar.gz btpd-b5cdaf06a9088e06fbb2ceee3850659e0737dac9.zip | |
Write "1 torrent." instead of "1 torrents.".
| -rw-r--r-- | cli/btcli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/btcli.c b/cli/btcli.c index b2f49bf..874ef6a 100644 --- a/cli/btcli.c +++ b/cli/btcli.c @@ -553,7 +553,7 @@ cmd_list(int argc, char **argv) printf("%s\n", path); free(path); } - printf("%d torrents.\n", count); + printf("%d torrent%s.\n", count, count == 1 ? "" : "s"); } static struct { |