Kouhei Sutou
null+****@clear*****
Tue Oct 21 22:25:48 JST 2014
Kouhei Sutou 2014-10-21 22:25:48 +0900 (Tue, 21 Oct 2014) New Revision: 8beb732d99505d05cda65cfaa618f9c2c6d79f80 https://github.com/groonga/groonga/commit/8beb732d99505d05cda65cfaa618f9c2c6d79f80 Message: lz4: break a long line Modified files: lib/store.c Modified: lib/store.c (+3 -1) =================================================================== --- lib/store.c 2014-10-21 22:25:07 +0900 (d3e61dc) +++ lib/store.c 2014-10-21 22:25:48 +0900 (6aa26c8) @@ -1377,7 +1377,9 @@ grn_ja_put_lz4(grn_ctx *ctx, grn_ja *ja, grn_id id, lz4_value_len = LZ4_compressBound(value_len); - if (!(lz4_value = GRN_MALLOC(lz4_value_len + sizeof(uint64_t)))) { return GRN_NO_MEMORY_AVAILABLE; } + if (!(lz4_value = GRN_MALLOC(lz4_value_len + sizeof(uint64_t)))) { + return GRN_NO_MEMORY_AVAILABLE; + } lz4_value_len = LZ4_compress((const char*)value, (char *)((uint64_t *)lz4_value + 1), value_len); if (lz4_value_len <= 0) { -------------- next part -------------- HTML����������������������������...Download