Kouhei Sutou
null+****@clear*****
Wed Jan 7 18:08:52 JST 2015
Kouhei Sutou 2015-01-07 18:08:52 +0900 (Wed, 07 Jan 2015) New Revision: a456cd1400ff0be0e47c130f2d516ba619b11307 https://github.com/groonga/groonga/commit/a456cd1400ff0be0e47c130f2d516ba619b11307 Message: Reduce a needless new line Modified files: src/groonga.c Modified: src/groonga.c (+3 -1) =================================================================== --- src/groonga.c 2015-01-07 17:54:07 +0900 (83adcac) +++ src/groonga.c 2015-01-07 18:08:52 +0900 (340aef9) @@ -291,7 +291,9 @@ s_output_raw(grn_ctx *ctx, int flags, FILE *stream) if (flags & GRN_CTX_TAIL) { grn_obj *command; - fputc('\n', stream); + if (chunk_size > 0) { + fputc('\n', stream); + } fflush(stream); command = GRN_CTX_USER_DATA(ctx)->ptr; -------------- next part -------------- HTML����������������������������...Download