Skip to content

Commit a0742e7

Browse files
committed
Fix http_demo_mutual_auth
1 parent 3faa78f commit a0742e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

demos/http/http_demo_mutual_auth/http_demo_mutual_auth.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@ int main( int argc,
401401
{
402402
/* Log message indicating an iteration completed successfully. */
403403
LogInfo( ( "Demo completed successfully." ) );
404+
405+
/* Ensure logs are flushed before exiting. */
406+
fflush( stdout );
407+
fflush( stderr );
404408
}
405409

406410
/************************** Disconnect. *****************************/

0 commit comments

Comments
 (0)