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