projects
/
oweals
/
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
[oweals/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index af43b0508c323c26367a65e6cd1321763ad7ec02..9f9fac94be27aa366aa5d9ea0390909d8dbf1dd4 100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-931,7
+931,7
@@
uclient_http_set_header(struct uclient *cl, const char *name, const char *value)
}
static int
-uclient_http_send_data(struct uclient *cl, char *buf, unsigned int len)
+uclient_http_send_data(struct uclient *cl, c
onst c
har *buf, unsigned int len)
{
struct uclient_http *uh = container_of(cl, struct uclient_http, uc);