[Groonga-commit] groonga/groonga at add833f [master] Indent

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Mon May 27 11:43:20 JST 2013


Kouhei Sutou	2013-05-27 11:43:20 +0900 (Mon, 27 May 2013)

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

  Message:
    Indent

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+11 -11)
===================================================================
--- src/groonga.c    2013-05-27 11:43:04 +0900 (4ba1723)
+++ src/groonga.c    2013-05-27 11:43:20 +0900 (a95d6ff)
@@ -434,17 +434,17 @@ daemonize(void)
   case 0:
     {
       FILE *pid_file = NULL;
-    if (pid_file_path) {
-      pid_file = fopen(pid_file_path, "w");
-    }
-    pid = getpid();
-    if (!pid_file) {
-      fprintf(stderr, "%d\n", pid);
-    } else {
-      fprintf(pid_file, "%d\n", pid);
-      fclose(pid_file);
-      pid_file = NULL;
-    }
+      if (pid_file_path) {
+        pid_file = fopen(pid_file_path, "w");
+      }
+      pid = getpid();
+      if (!pid_file) {
+        fprintf(stderr, "%d\n", pid);
+      } else {
+        fprintf(pid_file, "%d\n", pid);
+        fclose(pid_file);
+        pid_file = NULL;
+      }
     }
     break;
   case -1:
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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