summaryrefslogtreecommitdiff
path: root/uclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'uclient.c')
-rw-r--r--uclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uclient.c b/uclient.c
index d599763..21f6f5d 100644
--- a/uclient.c
+++ b/uclient.c
@@ -221,7 +221,7 @@ void uclient_free(struct uclient *cl)
free(url);
}
-int uclient_write(struct uclient *cl, char *buf, int len)
+int uclient_write(struct uclient *cl, const char *buf, int len)
{
if (!cl->backend->write)
return -1;