Skip to content

Commit

Permalink
Commented out cb_packets assert(status == 0). Output actual status wh…
Browse files Browse the repository at this point in the history
…en error occurs, issue mscdex#82
  • Loading branch information
Giuan committed Jul 5, 2019
1 parent 5b0d61e commit 44eb928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class Pcap : public Nan::ObjectWrap {
}
#else
static void cb_packets(uv_poll_t* handle, int status, int events) {
assert(status == 0);
// assert(status == 0);
Pcap *obj = (Pcap*)handle->data;
int packet_count;

Expand Down

0 comments on commit 44eb928

Please sign in to comment.