Skip to content

Commit 54f1c70

Browse files
committed
Check logging
1 parent aedfec7 commit 54f1c70

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

demos/http/http_demo_mutual_auth/http_demo_mutual_auth.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ static int32_t sendHttpRequest( const TransportInterface_t * pTransportInterface
312312
HTTPClient_strerror( httpStatus ) ) );
313313
}
314314

315+
LogInfo( ( "ABC" ) );
316+
fflush(stdout);
317+
315318
if( httpStatus != HTTPSuccess )
316319
{
317320
returnStatus = EXIT_FAILURE;
@@ -397,14 +400,10 @@ int main( int argc,
397400
POST_PATH_LENGTH );
398401
}
399402

400-
LogInfo( ( "ABC" ) );
401-
LogInfo( ( "Final returnStatus = %d", returnStatus ) );
402-
403403
if( returnStatus == EXIT_SUCCESS )
404404
{
405-
LogInfo( ( "Rahul" ) );
406405
/* Log message indicating an iteration completed successfully. */
407-
/*printf( "Demo completed successfully." ); */
406+
LogInfo( ( "Demo completed successfully." ) );
408407
}
409408

410409
/************************** Disconnect. *****************************/

0 commit comments

Comments
 (0)