projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No unsigned char's in public API (except for iconv)
[yaz-moved-to-github.git]
/
src
/
http.c
diff --git
a/src/http.c
b/src/http.c
index
746f3e1
..
e4c3001
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-610,7
+610,7
@@
int yaz_encode_http_response(ODR o, Z_HTTP_Response *hr)
odr_write2(o, "\r\n", 2);
}
}
- odr_write(o, (unsigned char *) "\r\n", 2);
+ odr_write2(o, "\r\n", 2);
if (hr->content_buf)
odr_write2(o, hr->content_buf, hr->content_len);
if (o->direction == ODR_PRINT)