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-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index
af43b05
..
9f9fac9
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);