Skip to content

Commit

Permalink
Typo: Change port_get to port_getn in aeApiPoll panic message. (redis…
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin authored May 7, 2021
1 parent 6b47598 commit 57b94ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ae_evport.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) {
return 0;

/* Any other error indicates a bug. */
panic("aeApiPoll: port_get, %s", strerror(errno));
panic("aeApiPoll: port_getn, %s", strerror(errno));
}

state->npending = nevents;
Expand Down

0 comments on commit 57b94ea

Please sign in to comment.