Skip to content

Instantly share code, notes, and snippets.

@shigeki
Created December 12, 2011 15:10
Show Gist options
  • Save shigeki/1467739 to your computer and use it in GitHub Desktop.
Save shigeki/1467739 to your computer and use it in GitHub Desktop.
libuv fix: option #1
void uv__req_init(uv_req_t* req) {
req->type = UV_UNKNOWN_REQ;
}
void uv_req_init(uv_loop_t* loop, uv_req_t* req) {
loop->counters.req_init++;
uv__req_init(req);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment