[Groonga-commit] groonga/groonga at 3f2ad49 [master] Fix inverted boolean

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 14 16:38:24 JST 2017


Kouhei Sutou	2017-06-14 16:38:24 +0900 (Wed, 14 Jun 2017)

  New Revision: 3f2ad49ed70144f90e653a7fa2288f7f24c4546a
  https://github.com/groonga/groonga/commit/3f2ad49ed70144f90e653a7fa2288f7f24c4546a

  Message:
    Fix inverted boolean

  Modified files:
    lib/io.c

  Modified: lib/io.c (+2 -2)
===================================================================
--- lib/io.c    2017-06-14 15:42:15 +0900 (36e682d)
+++ lib/io.c    2017-06-14 16:38:24 +0900 (5b18b66)
@@ -1516,11 +1516,11 @@ grn_io_is_corrupt(grn_ctx *ctx, grn_io *io)
     if (stat(path, &s) != 0) {
       SERR("[io][corrupt] used path doesn't exist: <%s>",
            path);
-      return GRN_FALSE;
+      return GRN_TRUE;
     }
   }
 
-  return GRN_TRUE;
+  return GRN_FALSE;
 }
 
 /** mmap abstraction **/
-------------- next part --------------
HTML����������������������������...
下載 



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