You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/09/03 00:15:22 UTC
[trafficserver] branch master updated: clang-format: Another one
that slipped through.
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f7c069b clang-format: Another one that slipped through.
f7c069b is described below
commit f7c069bea828934b6a797be65551b7ce46aae2bd
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Sat Sep 1 07:44:40 2018 -0500
clang-format: Another one that slipped through.
---
lib/cppapi/Transaction.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cppapi/Transaction.cc b/lib/cppapi/Transaction.cc
index 287dd8d..2157346 100644
--- a/lib/cppapi/Transaction.cc
+++ b/lib/cppapi/Transaction.cc
@@ -398,7 +398,7 @@ void
Transaction::redirectTo(std::string const &url)
{
// Must re-alloc the string locally because ownership is transferred to the transaction.
- char * const buffer = static_cast<char *>(TSmalloc(url.size() + 1));
+ char *const buffer = static_cast<char *>(TSmalloc(url.size() + 1));
memcpy(buffer, url.c_str(), url.size());
buffer[url.size()] = '\0';
TSHttpTxnRedirectUrlSet(state_->txn_, buffer, url.size());