(endl): Fix bug in last change.

(ends): Make same change as for endl.

From-SVN: r34128
This commit is contained in:
Ulrich Drepper 2000-05-24 07:06:07 +00:00
parent 3c56b10550
commit d027507ed8

@ -957,13 +957,14 @@ int istream::_skip_ws()
ostream& ends(ostream& outs)
{
outs.put('\0');
if (outs.opfx())
outs.put('\0');
return outs;
}
ostream& endl(ostream& outs)
{
if (opfx)
if (outs.opfx())
flush(outs.put('\n'));
return outs;
}