aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-29 10:58:14 -0700
committerMax Kellermann <max@duempel.org>2009-03-30 19:21:41 +0200
commit215cdda08d3b69c3a58a6b783e4c8b14a3277d5f (patch)
tree2c3ca7446eaa27fe0004cfbc46184b26f10447a8 /src/client.c
parente81f683a1805871fa671485dc2a6327763ef1cf0 (diff)
downloadmpd-215cdda08d3b69c3a58a6b783e4c8b14a3277d5f.tar.gz
mpd-215cdda08d3b69c3a58a6b783e4c8b14a3277d5f.tar.xz
mpd-215cdda08d3b69c3a58a6b783e4c8b14a3277d5f.zip
client: client_write() does not necessary for export.
Diffstat (limited to '')
-rw-r--r--src/client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 65dc858f3..369390ba0 100644
--- a/src/client.c
+++ b/src/client.c
@@ -773,7 +773,10 @@ static void client_write_output(struct client *client)
client->send_buf_used = 0;
}
-void client_write(struct client *client, const char *buffer, size_t buflen)
+/**
+ * Write a block of data to the client.
+ */
+static void client_write(struct client *client, const char *buffer, size_t buflen)
{
/* if the client is going to be closed, do nothing */
if (client_is_expired(client))