Navigation Menu

Skip to content

Commit

Permalink
Follow API change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2015
1 parent 08f8cbd commit 815d087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/com.c
Expand Up @@ -328,10 +328,10 @@ grn_com_event_fin(grn_ctx *ctx, grn_com_event *ev)
#ifndef USE_SELECT
if (ev->events) { GRN_FREE(ev->events); }
# ifdef USE_EPOLL
GRN_CLOSE(ev->epfd);
grn_close(ev->epfd);
# endif /* USE_EPOLL */
# ifdef USE_KQUEUE
GRN_CLOSE(ev->kqfd);
grn_close(ev->kqfd);
# endif /* USE_KQUEUE*/
#endif /* USE_SELECT */
return GRN_SUCCESS;
Expand Down

0 comments on commit 815d087

Please sign in to comment.