aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimePrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TimePrint.cxx')
-rw-r--r--src/TimePrint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/TimePrint.cxx b/src/TimePrint.cxx
index 5526ec7d6..f9a4dbd94 100644
--- a/src/TimePrint.cxx
+++ b/src/TimePrint.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
@@ -19,10 +19,10 @@
#include "config.h"
#include "TimePrint.hxx"
-#include "client/Client.hxx"
+#include "client/Response.hxx"
void
-time_print(Client &client, const char *name, time_t t)
+time_print(Response &r, const char *name, time_t t)
{
#ifdef WIN32
const struct tm *tm2 = gmtime(&t);
@@ -41,5 +41,5 @@ time_print(Client &client, const char *name, time_t t)
"%FT%TZ",
#endif
tm2);
- client_printf(client, "%s: %s\n", name, buffer);
+ r.Format("%s: %s\n", name, buffer);
}