ports/www/trafficserver/files/patch-lib__atscppapi__src__AsyncHttpFetch.cc
Bernhard Froehlich e8ef133efb - Update to 4.1.2
- Build with clang on FreeBSD 10 and remove USE_GCC=any
- added some configuration OPTIONS
- added patch to fix segfault with current tcl
- added patches to avoid crash on i386
- compile with libxml2, hwloc, boost
- add user tserv for owning configuration and log directory
- added stage support
- enabled compiling WCCP and SSD support
- use lua with JIT
- install perl TS module

PR:		ports/185669
Submitted by:	Radim Kolar <hsn@sendmail.cz>
Approved by:	maintainer timeout (3 weeks)
2014-01-30 12:36:23 +00:00

12 lines
783 B
C++

--- ./lib/atscppapi/src/AsyncHttpFetch.cc.orig 2013-12-05 22:07:48.000000000 +0000
+++ ./lib/atscppapi/src/AsyncHttpFetch.cc 2014-01-27 08:45:49.000000000 +0000
@@ -82,7 +82,7 @@
state->body_ = data_start; // data_start will now be pointing to body
state->body_size_ = data_end - data_start;
utils::internal::initResponse(state->response_, state->hdr_buf_, state->hdr_loc_);
- LOG_DEBUG("Fetch result had a status code of %d with a body length of %ld", status, state->body_size_);
+ LOG_DEBUG("Fetch result had a status code of %d with a body length of %zu", status, state->body_size_);
} else {
LOG_ERROR("Unable to parse response; Request URL [%s]; transaction %p",
state->request_.getUrl().getUrlString().c_str(), txn);