[Groonga-commit] groonga/groonga at 51d39a2 [master] grn_ja: fix a typo

Zurück zum Archiv-Index

Susumu Yata null+****@clear*****
Mon Dec 7 11:44:45 JST 2015


Susumu Yata	2015-12-07 11:44:45 +0900 (Mon, 07 Dec 2015)

  New Revision: 51d39a2bd5d3ce212ee360bc2fbf41df017c551a
  https://github.com/groonga/groonga/commit/51d39a2bd5d3ce212ee360bc2fbf41df017c551a

  Message:
    grn_ja: fix a typo

  Modified files:
    lib/store.c

  Modified: lib/store.c (+1 -1)
===================================================================
--- lib/store.c    2015-12-07 11:40:37 +0900 (09d8c39)
+++ lib/store.c    2015-12-07 11:44:45 +0900 (4adb024)
@@ -1194,7 +1194,7 @@ grn_ja_ref_zlib(grn_ctx *ctx, grn_ja *ja, grn_id id, grn_io_win *iw, uint32_t *v
     return NULL;
   }
   zstream.next_in = (Bytef *)(((uint64_t *)zvalue) + 1);
-  zstream.avail_in = zvalue_len + sizeof(uint64_t);
+  zstream.avail_in = zvalue_len - sizeof(uint64_t);
   zstream.zalloc = Z_NULL;
   zstream.zfree = Z_NULL;
   if (inflateInit2(&zstream, 15 /* windowBits */) != Z_OK) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index