summaryrefslogtreecommitdiffstats
path: root/common/estream.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/estream.c')
-rw-r--r--common/estream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/estream.c b/common/estream.c
index be791a802..6272c81f5 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -3101,7 +3101,7 @@ es_freopen (const char *ES__RESTRICT path, const char *ES__RESTRICT mode,
}
else
{
- if (stream && path)
+ if (path)
fname_set_internal (stream, path, 1);
ESTREAM_UNLOCK (stream);
}