Skip to content

Commit

Permalink
Uncrustify: triggered by comment. Push.
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and AniruddhaKanhere committed Jan 19, 2024
1 parent a4489b8 commit 183e2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/core_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,7 +2103,7 @@ HTTPStatus_t HTTPClient_ReceiveAndParseHttpResponse( const TransportInterface_t
{
returnStatus = HTTPSuccess;
/* There may be dangling data if we parse with do not parse body flag. To let libraries built on top of corehttp we expose it through body. */
pResponse->bodyLen = totalReceived - ( size_t )( ( ( uintptr_t ) pResponse->pBody ) - ( ( uintptr_t ) pResponse->pBuffer ) );
pResponse->bodyLen = totalReceived - ( size_t ) ( ( ( uintptr_t ) pResponse->pBody ) - ( ( uintptr_t ) pResponse->pBuffer ) );
}

if( returnStatus == HTTPSuccess )
Expand Down
1 change: 1 addition & 0 deletions test/cbmc/stubs/HTTPClient_Send_llhttp_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ llhttp_errno_t llhttp_execute( llhttp_t * parser,
__CPROVER_assume( bodyOffset < pParsingContext->pResponse->bufferLen );
__CPROVER_assume( bodyOffset < len );
}

pParsingContext->pResponse->pBody = pParsingContext->pBufferCur + bodyOffset;

return parser->error;
Expand Down

0 comments on commit 183e2a4

Please sign in to comment.