clang format.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/39fd1997 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/39fd1997 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/39fd1997 Branch: refs/heads/master Commit: 39fd1997d320b5e2c828d07559913801f9cc66d7 Parents: 7870dca Author: John J. Rushford <[email protected]> Authored: Fri Sep 18 17:09:58 2015 +0000 Committer: John J. Rushford <[email protected]> Committed: Fri Sep 18 17:09:58 2015 +0000 ---------------------------------------------------------------------- .../cache_range_requests/cache_range_requests.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/39fd1997/plugins/experimental/cache_range_requests/cache_range_requests.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/cache_range_requests/cache_range_requests.cc b/plugins/experimental/cache_range_requests/cache_range_requests.cc index 98f84f8..d0c7b32 100644 --- a/plugins/experimental/cache_range_requests/cache_range_requests.cc +++ b/plugins/experimental/cache_range_requests/cache_range_requests.cc @@ -119,7 +119,8 @@ range_header_check(TSHttpTxn txnp) TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_REQUEST_HDR_HOOK, txn_contp); TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, txn_contp); TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp); - TSDebug(PLUGIN_NAME, "range_header_check(): Added TS_HTTP_SEND_REQUEST_HDR_HOOK, TS_HTTP_SEND_RESPONSE_HDR_HOOK, and TS_HTTP_TXN_CLOSE_HOOK"); + TSDebug(PLUGIN_NAME, "range_header_check(): Added TS_HTTP_SEND_REQUEST_HDR_HOOK, TS_HTTP_SEND_RESPONSE_HDR_HOOK, and " + "TS_HTTP_TXN_CLOSE_HOOK"); } } TSHandleMLocRelease(hdr_bufp, req_hdrs, loc); @@ -191,13 +192,11 @@ handle_client_send_response(TSHttpTxn txnp, struct txndata *txn_state) if (set_header(hdr_bufp, req_hdrs, TS_MIME_FIELD_RANGE, TS_MIME_LEN_RANGE, txn_state->range_value, strlen(txn_state->range_value))) { TSDebug(PLUGIN_NAME, "handle_client_send_response(): added range header: %s", txn_state->range_value); - } - else { + } else { TSDebug(PLUGIN_NAME, "handle_client_send_response(): set_header() failed."); } - } - else { - TSDebug(PLUGIN_NAME, "handle_client_send_response(): failed to get Request Headers."); + } else { + TSDebug(PLUGIN_NAME, "handle_client_send_response(): failed to get Request Headers."); } TSHandleMLocRelease(response, resp_hdr, NULL); TSHandleMLocRelease(hdr_bufp, req_hdrs, NULL); @@ -227,7 +226,8 @@ handle_server_read_response(TSHttpTxn txnp, struct txndata *txn_state) bool cacheable = TSHttpTxnIsCacheable(txnp, NULL, response); TSDebug(PLUGIN_NAME, "handle_server_read_response(): range is cacheable: %d", cacheable); } else if (TS_HTTP_STATUS_OK == status) { - TSDebug(PLUGIN_NAME, "handle_server_read_response(): The origin does not support range requests, attempting to disable cache write."); + TSDebug(PLUGIN_NAME, + "handle_server_read_response(): The origin does not support range requests, attempting to disable cache write."); if (TS_SUCCESS == TSHttpTxnServerRespNoStoreSet(txnp, 1)) { TSDebug(PLUGIN_NAME, "handle_server_read_response(): Cache write has been disabled for this transaction."); } else {
