~ubuntu-branches/ubuntu/trusty/nodejs/trusty-proposed

« back to all changes in this revision

Viewing changes to deps/uv/src/unix/stream.c

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-12-12 23:04:07 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20131212230407-xfa6gka4c6oatsx1
Tags: 0.10.23~dfsg1-1
* Upstream update.
* Refresh patches, remove 1005 patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
679
679
  /* Only free when there was no error. On error, we touch up write_queue_size
680
680
   * right before making the callback. The reason we don't do that right away
681
681
   * is that a write_queue_size > 0 is our only way to signal to the user that
682
 
   * he should stop writing - which he should if we got an error. Something to
683
 
   * revisit in future revisions of the libuv API.
 
682
   * they should stop writing - which they should if we got an error. Something
 
683
   * to revisit in future revisions of the libuv API.
684
684
   */
685
685
  if (req->error == 0) {
686
686
    if (req->bufs != req->bufsml)