estream: Fix deadlock in es_fileno.

* src/estream.c (es_fileno_unlocked): Call the unlocked functions.
This commit is contained in:
Werner Koch 2014-04-15 16:40:48 +02:00
parent aeb81727c7
commit ecea94461e
1 changed files with 1 additions and 1 deletions

View File

@ -3300,7 +3300,7 @@ es_fileno_unlocked (estream_t stream)
{
es_syshd_t syshd;
if (es_syshd (stream, &syshd))
if (es_syshd_unlocked (stream, &syshd))
return -1;
switch (syshd.type)
{