[Groonga-commit] groonga/groonga at c549454 [master] Unindent

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Wed Jun 19 15:01:07 JST 2013


Kouhei Sutou	2013-06-19 15:01:07 +0900 (Wed, 19 Jun 2013)

  New Revision: c54945403cfdcd74650d052da00de0e69678c4e3
  https://github.com/groonga/groonga/commit/c54945403cfdcd74650d052da00de0e69678c4e3

  Message:
    Unindent

  Modified files:
    lib/util.c

  Modified: lib/util.c (+13 -13)
===================================================================
--- lib/util.c    2013-06-19 15:00:51 +0900 (5c9fa96)
+++ lib/util.c    2013-06-19 15:01:07 +0900 (04c25ef)
@@ -550,20 +550,20 @@ grn_table_columns_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
 static grn_rc
 grn_table_ids_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
 {
-    grn_table_cursor *tc;
-    GRN_TEXT_PUTS(ctx, buf, "ids:[");
-    tc = grn_table_cursor_open(ctx, obj, NULL, 0, NULL, 0,
-                               0, -1, GRN_CURSOR_ASCENDING);
-    if (tc) {
-      int i = 0;
-      grn_id id;
-      while ((id = grn_table_cursor_next(ctx, tc))) {
-        if (i++ > 0) { GRN_TEXT_PUTS(ctx, buf, ", "); }
-        grn_text_lltoa(ctx, buf, id);
-      }
-      grn_table_cursor_close(ctx, tc);
+  grn_table_cursor *tc;
+  GRN_TEXT_PUTS(ctx, buf, "ids:[");
+  tc = grn_table_cursor_open(ctx, obj, NULL, 0, NULL, 0,
+                             0, -1, GRN_CURSOR_ASCENDING);
+  if (tc) {
+    int i = 0;
+    grn_id id;
+    while ((id = grn_table_cursor_next(ctx, tc))) {
+      if (i++ > 0) { GRN_TEXT_PUTS(ctx, buf, ", "); }
+      grn_text_lltoa(ctx, buf, id);
     }
-    GRN_TEXT_PUTS(ctx, buf, "]");
+    grn_table_cursor_close(ctx, tc);
+  }
+  GRN_TEXT_PUTS(ctx, buf, "]");
 
   return GRN_SUCCESS;
 }
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る