Skip to content

Commit

Permalink
Merge pull request #5 from LBT-CNRS/Fix_IMDlogname_stdout
Browse files Browse the repository at this point in the history
Fix when IMDlogname use stdout
  • Loading branch information
HubLot authored Jul 8, 2024
2 parents 60bceff + 66688e4 commit 023df6f
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 023df6f

Please sign in to comment.