diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-07 18:31:30 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-08 09:04:41 +0100 |
commit | 17097d96b7452dbcd099af29239be9480aa9df8f (patch) | |
tree | c716d66ddf183059dd002cb907cc6579def227dd /src/TagPrint.cxx | |
parent | a3e28c2d1a1c85351ef5fe4e50ec75db6f4199c4 (diff) |
db/{Count,Print}: use tag_print(), eliminate duplicate code
Diffstat (limited to 'src/TagPrint.cxx')
-rw-r--r-- | src/TagPrint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TagPrint.cxx b/src/TagPrint.cxx index 41a25c894..1406f669b 100644 --- a/src/TagPrint.cxx +++ b/src/TagPrint.cxx @@ -41,7 +41,7 @@ void tag_print_values(Response &r, const Tag &tag) { for (const auto &i : tag) - r.Format("%s: %s\n", tag_item_names[i.type], i.value); + tag_print(r, i.type, i.value); } void |