Skip to content

Commit

Permalink
Fix when IMDlogname use stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Lanrezac committed Jul 5, 2024
1 parent a62bfae commit 36da520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protocol/src/imd_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@ FILE *IIMD_init( const char *hostname, imd_int32 *mode, imd_int32 *IMD
{
IMDlog = stderr;
}
else if (strcmp(IMDlogname_, "stdout") == 0)
{
IMDlog = stdout;
}
else
{
IMDlog = fopen ( IMDlogname_, "w");
Expand Down

0 comments on commit 36da520

Please sign in to comment.