From 17097d96b7452dbcd099af29239be9480aa9df8f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Feb 2017 18:31:30 +0100 Subject: db/{Count,Print}: use tag_print(), eliminate duplicate code --- src/TagPrint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TagPrint.cxx') 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 -- cgit v1.2.3