summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-04-12 22:32:35 +0200
committerMax Kellermann <max@duempel.org>2016-04-12 22:32:38 +0200
commitfd5d42836f65f7fdd0fe4ec0fa42b2452fdfc930 (patch)
treeb9bc51b8e2d390908a8fcef467a9f901f552112d /src/client/Response.cxx
parent4eaa82fd22cc213618fc9b06654720507efe272e (diff)
Client: add WriteString()
Diffstat (limited to 'src/client/Response.cxx')
-rw-r--r--src/client/Response.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index f4fe0bc3a..b741d7eb5 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -22,8 +22,6 @@
#include "Client.hxx"
#include "util/FormatString.hxx"
-#include <string.h>
-
bool
Response::Write(const void *data, size_t length)
{
@@ -33,7 +31,7 @@ Response::Write(const void *data, size_t length)
bool
Response::Write(const char *data)
{
- return Write(data, strlen(data));
+ return client.Write(data);
}
bool