Skip to content

Commit 0a94bb3

Browse files
committed
changed from callback
1 parent 4af2315 commit 0a94bb3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/aws-cpp-sdk-core/source/client/AWSClient.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,15 +1058,15 @@ void AWSClient::AppendRecursionDetectionHeader(std::shared_ptr<Aws::Http::HttpRe
10581058
{
10591059
if (ch >= 0x20 && ch <= 0x7e) // ascii chars [32-126] or [' ' to '~'] are not escaped
10601060
{
1061-
xAmznTraceIdValEncodedStr << ch;
1061+
xAmznTraceIdValEncodedStr << ch;
10621062
}
10631063
else
10641064
{
1065-
// A percent-encoded octet is encoded as a character triplet
1066-
xAmznTraceIdValEncodedStr << '%' // consisting of the percent character "%"
1067-
<< std::hex << std::setfill('0') << std::setw(2) << std::uppercase
1068-
<< (size_t) ch //followed by the two hexadecimal digits representing that octet's numeric value
1069-
<< std::dec << std::setfill(' ') << std::setw(0) << std::nouppercase;
1065+
// A percent-encoded octet is encoded as a character triplet
1066+
xAmznTraceIdValEncodedStr << '%' // consisting of the percent character "%"
1067+
<< std::hex << std::setfill('0') << std::setw(2) << std::uppercase
1068+
<< (size_t) ch //followed by the two hexadecimal digits representing that octet's numeric value
1069+
<< std::dec << std::setfill(' ') << std::setw(0) << std::nouppercase;
10701070
}
10711071
}
10721072
xAmznTraceIdVal = xAmznTraceIdValEncodedStr.str();

0 commit comments

Comments
 (0)