X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fhttp.c;fp=src%2Fhttp.c;h=e4c300146e7e2409edd3b8ec30cbda22dd4e4c56;hp=746f3e197c6aff9015140d8bc21c34c82150a994;hb=69b1d8e7b437179163fe97b7cbead51a56835f2a;hpb=cabcc223cd47503763e7c42969e3be30c58276af diff --git a/src/http.c b/src/http.c index 746f3e1..e4c3001 100644 --- 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)