projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use const for char buffer in uclient_write
[project/uclient.git]
/
uclient.c
diff --git
a/uclient.c
b/uclient.c
index
d599763
..
21f6f5d
100644
(file)
--- 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, c
onst c
har *buf, int len)
{
if (!cl->backend->write)
return -1;