Oops! forget the last.
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -405,8 +405,7 @@ stream_write (stream_t os, const char *buf, size_t count, | ... | @@ -405,8 +405,7 @@ stream_write (stream_t os, const char *buf, size_t count, |
405 | } | 405 | } |
406 | if (pnwrite) | 406 | if (pnwrite) |
407 | *pnwrite = total; | 407 | *pnwrite = total; |
408 | /* If we have someting in the buffer propagate the error on the next call. */ | 408 | return err; |
409 | return (total) ? 0 : err; | ||
410 | } | 409 | } |
411 | 410 | ||
412 | int | 411 | int | ... | ... |
-
Please register or sign in to post a comment