aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-24 18:07:12 +0200
committerMax Kellermann <max@duempel.org>2014-04-24 18:07:12 +0200
commit6378ad69bb053b89495c1ad957fe4774d0c19bb9 (patch)
tree1c980c042a35705c11176c59d2a5cb8d4b53a616 /src
parent9616e9bf3b8b6d8e28e0e5272953c4a4bcf4890c (diff)
downloadmpd-6378ad69bb053b89495c1ad957fe4774d0c19bb9.tar.gz
mpd-6378ad69bb053b89495c1ad957fe4774d0c19bb9.tar.xz
mpd-6378ad69bb053b89495c1ad957fe4774d0c19bb9.zip
DatabasePrint: merge adjacent client_printf() calls
Diffstat (limited to 'src')
-rw-r--r--src/db/DatabasePrint.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/db/DatabasePrint.cxx b/src/db/DatabasePrint.cxx
index cd2c32ed5..0e91db5d5 100644
--- a/src/db/DatabasePrint.cxx
+++ b/src/db/DatabasePrint.cxx
@@ -176,8 +176,10 @@ struct SearchStats {
static void
printSearchStats(Client &client, const SearchStats &stats)
{
- client_printf(client, "songs: %u\n", stats.numberOfSongs);
- client_printf(client, "playtime: %lu\n", stats.playTime);
+ client_printf(client,
+ "songs: %u\n"
+ "playtime: %lu\n",
+ stats.numberOfSongs, stats.playTime);
}
static bool