[Groonga-commit] groonga/groonga [master] Don't print needless r->uri.len

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 4日 (月) 16:00:36 JST


Ryo Onodera	2012-06-04 16:00:36 +0900 (Mon, 04 Jun 2012)

  New Revision: c91948e5875f905611bd80e29a7de9938e66bf54

  Log:
    Don't print needless r->uri.len

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

  Modified: src/nginx-module/ngx_http_groonga_module.c (+1 -1)
===================================================================
--- src/nginx-module/ngx_http_groonga_module.c    2012-06-04 15:47:01 +0900 (e883f62)
+++ src/nginx-module/ngx_http_groonga_module.c    2012-06-04 16:00:36 +0900 (537c90d)
@@ -108,7 +108,7 @@ ngx_http_groonga_handler(ngx_http_request_t *r)
 
   printf("database_path: %s\n", database_path);
   printf("version: %s\n", grn_get_version());
-  printf("uri: %d %.*s\n", (int)r->uri.len, (int)r->uri.len, r->uri.data);
+  printf("uri: %.*s\n", (int)r->uri.len, r->uri.data);
 
   grn_db_open(context, database_path);
   rc = ngx_http_groonga_context_check(context);




Groonga-commit メーリングリストの案内
Back to archive index