diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http')
-rw-r--r-- | sca-cpp/trunk/modules/http/httpd.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd.hpp b/sca-cpp/trunk/modules/http/httpd.hpp index 768537aa03..d9570ce5bd 100644 --- a/sca-cpp/trunk/modules/http/httpd.hpp +++ b/sca-cpp/trunk/modules/http/httpd.hpp @@ -344,7 +344,7 @@ const failable<int> writeResult(const failable<list<string> >& ls, const string& return OK; } ap_set_content_type(r, apr_pstrdup(r->pool, c_str(ct))); - ap_rputs(c_str(ob), r); + ap_rwrite(c_str(ob), (int)length(ob), r); return OK; } |