~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/websockets.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-06-11 15:45:24 UTC
  • mfrom: (1.2.1) (2.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130611154524-rppb3w6tixlegv4n
Tags: 1.4.7~20130611~a1eb425-1
* New snapshot release
* Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  }
57
57
 
58
58
  if(n < 0 && errno != EAGAIN && errno != EWOULDBLOCK) {
59
 
    fprintf(stderr, "error in get_all_buf!");
 
59
    fprintf(stderr, "error in get_all_buf! %d", errno);
60
60
    exit(EXIT_FAILURE);
61
61
  }
62
62
  return offset;