[Groonga-commit] groonga/groonga at 688a0a3 [master] Indent

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 19 14:56:43 JST 2013


Kouhei Sutou	2013-06-19 14:56:43 +0900 (Wed, 19 Jun 2013)

  New Revision: 688a0a356ca2e31eea832280f213817b93f89c42
  https://github.com/groonga/groonga/commit/688a0a356ca2e31eea832280f213817b93f89c42

  Message:
    Indent

  Modified files:
    lib/util.c

  Modified: lib/util.c (+13 -13)
===================================================================
--- lib/util.c    2013-06-19 14:56:29 +0900 (01b2740)
+++ lib/util.c    2013-06-19 14:56:43 +0900 (c9dcace)
@@ -502,19 +502,19 @@ grn_table_type_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
 static grn_rc
 grn_table_key_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
 {
-    grn_obj *domain;
-    grn_id domain_id;
-    GRN_TEXT_PUTS(ctx, buf, "key:");
-    domain_id = obj->header.domain;
-    domain = grn_ctx_at(ctx, domain_id);
-    if (domain) {
-      grn_inspect_name(ctx, buf, domain);
-      grn_obj_unlink(ctx, domain);
-    } else if (domain_id) {
-      grn_text_lltoa(ctx, buf, domain_id);
-    } else {
-      GRN_TEXT_PUTS(ctx, buf, "(nil)");
-    }
+  grn_obj *domain;
+  grn_id domain_id;
+  GRN_TEXT_PUTS(ctx, buf, "key:");
+  domain_id = obj->header.domain;
+  domain = grn_ctx_at(ctx, domain_id);
+  if (domain) {
+    grn_inspect_name(ctx, buf, domain);
+    grn_obj_unlink(ctx, domain);
+  } else if (domain_id) {
+    grn_text_lltoa(ctx, buf, domain_id);
+  } else {
+    GRN_TEXT_PUTS(ctx, buf, "(nil)");
+  }
 
   return GRN_SUCCESS;
 }
-------------- next part --------------
HTML����������������������������...
Download 



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