[Groonga-commit] groonga/groonga at 323111b [master] table_create: compare with GRN_SUCCESS explicitly

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 2 16:14:51 JST 2016


Kouhei Sutou	2016-05-02 16:14:51 +0900 (Mon, 02 May 2016)

  New Revision: 323111b5e1af70d1fd0fa0dfc5466c22b5074e36
  https://github.com/groonga/groonga/commit/323111b5e1af70d1fd0fa0dfc5466c22b5074e36

  Message:
    table_create: compare with GRN_SUCCESS explicitly

  Modified files:
    lib/proc/proc_table.c

  Modified: lib/proc/proc_table.c (+1 -1)
===================================================================
--- lib/proc/proc_table.c    2016-05-02 16:14:31 +0900 (6f26a5f)
+++ lib/proc/proc_table.c    2016-05-02 16:14:51 +0900 (4f0eb72)
@@ -289,7 +289,7 @@ command_table_create(grn_ctx *ctx,
   }
 
 exit :
-  grn_ctx_output_bool(ctx, !ctx->rc);
+  grn_ctx_output_bool(ctx, ctx->rc == GRN_SUCCESS);
   return NULL;
 }
 
-------------- next part --------------
HTML����������������������������...
下載 



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