[Groonga-commit] groonga/groonga [master] fix wrong index access.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 14日 (水) 15:02:01 JST


Kouhei Sutou	2010-07-14 06:02:01 +0000 (Wed, 14 Jul 2010)

  New Revision: adcf5b7abe77c321b76f3a1fdddc1ed4f17d77eb

  Log:
    fix wrong index access.

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+1 -1)
===================================================================
--- src/groonga.c    2010-07-14 02:59:14 +0000 (e1ff67e)
+++ src/groonga.c    2010-07-14 06:02:01 +0000 (e5c7e1c)
@@ -779,7 +779,7 @@ h_output(grn_ctx *ctx, int flags, void *arg)
     wsabufs[2].buf = GRN_TEXT_VALUE(outbuf);
     wsabufs[2].len = GRN_TEXT_LEN(outbuf);
     wsabufs[3].buf = GRN_TEXT_VALUE(&foot);
-    wsabufs[4].len = GRN_TEXT_LEN(&foot);
+    wsabufs[3].len = GRN_TEXT_LEN(&foot);
     if (WSASend(fd, wsabufs, 4, &ret, 0, NULL, NULL) == SOCKET_ERROR) {
       SERR("WSASend");
     }




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