Fix incorrect flush error check in fputc_unlocked(3).
This commit is contained in:
parent
1acf16dea0
commit
ef36a94912
|
@ -53,7 +53,7 @@ extern "C" int fputc_unlocked(int c, FILE* fp)
|
||||||
|
|
||||||
if ( fp->amount_output_buffered == fp->buffersize )
|
if ( fp->amount_output_buffered == fp->buffersize )
|
||||||
{
|
{
|
||||||
if ( !fflush_unlocked(fp) == EOF )
|
if ( fflush_unlocked(fp) == EOF )
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue