Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhuw committed Apr 8, 2012
1 parent 2cad632 commit b387a62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mread.c
Expand Up @@ -387,10 +387,9 @@ mread_pull(struct mread_pool * self , int size) {
switch(errno) {
case EWOULDBLOCK:
return NULL;
case EINTR:
continue;
default:
if (errno == EAGAIN) {
continue;
}
_close_active(self);
return NULL;
}
Expand Down

0 comments on commit b387a62

Please sign in to comment.