aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker/StickerPrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sticker/StickerPrint.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sticker/StickerPrint.cxx b/src/sticker/StickerPrint.cxx
index a952ff203..f0043ebc8 100644
--- a/src/sticker/StickerPrint.cxx
+++ b/src/sticker/StickerPrint.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2014 The Music Player Daemon Project
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -20,25 +20,25 @@
#include "config.h"
#include "StickerPrint.hxx"
#include "StickerDatabase.hxx"
-#include "client/Client.hxx"
+#include "client/Response.hxx"
void
-sticker_print_value(Client &client,
+sticker_print_value(Response &r,
const char *name, const char *value)
{
- client_printf(client, "sticker: %s=%s\n", name, value);
+ r.Format("sticker: %s=%s\n", name, value);
}
static void
print_sticker_cb(const char *name, const char *value, void *data)
{
- Client &client = *(Client *)data;
+ auto &r = *(Response *)data;
- sticker_print_value(client, name, value);
+ sticker_print_value(r, name, value);
}
void
-sticker_print(Client &client, const sticker &sticker)
+sticker_print(Response &r, const Sticker &sticker)
{
- sticker_foreach(sticker, print_sticker_cb, &client);
+ sticker_foreach(sticker, print_sticker_cb, &r);
}