[Groonga-commit] groonga/groonga [master] fix argument type.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 22日 (木) 17:42:04 JST


Nobuyoshi Nakada	2010-07-22 08:42:04 +0000 (Thu, 22 Jul 2010)

  New Revision: edbebf9e3d2bae02882a09fa4b15e92ae96a870d

  Log:
    fix argument type.

  Modified files:
    lib/com.c

  Modified: lib/com.c (+1 -1)
===================================================================
--- lib/com.c    2010-07-22 08:10:44 +0000 (ff5963b)
+++ lib/com.c    2010-07-22 08:42:04 +0000 (ef7cf0e)
@@ -390,7 +390,7 @@ grn_com_event_mod(grn_ctx *ctx, grn_com_event *ev, grn_sock fd, int events, grn_
       struct kevent e[2];
       EV_SET(&e[0], (fd), GRN_COM_POLLIN|GRN_COM_POLLOUT, EV_DELETE, 0, 0, NULL);
       EV_SET(&e[1], (fd), events, EV_ADD, 0, 0, NULL);
-      if (kevent(ev->kqfd, &e, 2, NULL, 0, NULL) == -1) {
+      if (kevent(ev->kqfd, e, 2, NULL, 0, NULL) == -1) {
         SERR("kevent");
         return ctx->rc;
       }




Groonga-commit メーリングリストの案内
Back to archive index