[Groonga-commit] groonga/groonga at ae2f614 [master] groonga-httpd: indent

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 24 17:03:24 JST 2013


Kouhei Sutou	2013-09-24 17:03:24 +0900 (Tue, 24 Sep 2013)

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

  Message:
    groonga-httpd: indent

  Modified files:
    src/httpd/nginx-module/ngx_http_groonga_module.c

  Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+9 -9)
===================================================================
--- src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-24 17:02:15 +0900 (2bb7806)
+++ src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-24 17:03:24 +0900 (6c12940)
@@ -1124,15 +1124,15 @@ ngx_http_groonga_open_database_callback(ngx_http_groonga_loc_conf_t *location_co
 
   grn_db_open(context, location_conf->database_path_cstr);
   if (context->rc != GRN_SUCCESS) {
-  if (location_conf->database_auto_create) {
-    ngx_http_groonga_create_database(location_conf, data);
-  } else {
-    ngx_log_error(NGX_LOG_EMERG, data->log, 0,
-                  "failed to open groonga database: %s",
-                  context->errbuf);
-    data->rc = NGX_ERROR;
-    return;
-  }
+    if (location_conf->database_auto_create) {
+      ngx_http_groonga_create_database(location_conf, data);
+    } else {
+      ngx_log_error(NGX_LOG_EMERG, data->log, 0,
+                    "failed to open groonga database: %s",
+                    context->errbuf);
+      data->rc = NGX_ERROR;
+      return;
+    }
   }
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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