Commit f2160616 f21606163dd47ea28c2d15e36ad6ab75294c7888 by Alain Magloire

Oops! forget the last.

1 parent bea6c097
......@@ -405,8 +405,7 @@ stream_write (stream_t os, const char *buf, size_t count,
}
if (pnwrite)
*pnwrite = total;
/* If we have someting in the buffer propagate the error on the next call. */
return (total) ? 0 : err;
return err;
}
int
......