[Groonga-commit] groonga/groonga at 24d5304 [master] http post: fix a bug that separator character is evaluated two times

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Mar 12 14:21:19 JST 2015


Kouhei Sutou	2015-03-12 14:21:19 +0900 (Thu, 12 Mar 2015)

  New Revision: 24d5304e6bb68d9b040a8f87046028233ea6d3a0
  https://github.com/groonga/groonga/commit/24d5304e6bb68d9b040a8f87046028233ea6d3a0

  Message:
    http post: fix a bug that separator character is evaluated two times

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+1 -1)
===================================================================
--- src/groonga.c    2015-03-12 14:19:43 +0900 (b611591)
+++ src/groonga.c    2015-03-12 14:21:19 +0900 (8a99254)
@@ -1269,7 +1269,7 @@ do_htreq_post(grn_ctx *ctx, grn_msg *msg)
                             GRN_TEXT_LEN(&chunk_buffer),
                             flags);
         }
-        buffer_start = buffer_current;
+        buffer_start = buffer_current + 1;
         GRN_BULK_REWIND(&chunk_buffer);
       }
       if (buffer_end > buffer_start) {
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index