[Groonga-commit] groonga/groonga [master] httpd: remove needless grn_rc check to return errors

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 22日 (金) 14:25:35 JST


Ryo Onodera	2012-06-22 14:25:35 +0900 (Fri, 22 Jun 2012)

  New Revision: 8217b433a7c7d07004d7cc20c8d3768ef360fb20
  https://github.com/groonga/groonga/commit/8217b433a7c7d07004d7cc20c8d3768ef360fb20

  Log:
    httpd: remove needless grn_rc check to return errors

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

  Modified: src/nginx-module/ngx_http_groonga_module.c (+0 -4)
===================================================================
--- src/nginx-module/ngx_http_groonga_module.c    2012-06-22 14:19:42 +0900 (c1cc39c)
+++ src/nginx-module/ngx_http_groonga_module.c    2012-06-22 14:25:35 +0900 (d60aa08)
@@ -204,10 +204,6 @@ ngx_http_groonga_handler(ngx_http_request_t *r)
                (char *)r->unparsed_uri.data,
                r->unparsed_uri.len,
                GRN_NO_FLAGS);
-  rc = ngx_http_groonga_context_check(context);
-  if (rc != NGX_OK) {
-    return rc;
-  }
 
   body_data = ngx_pcalloc(r->pool, result_size);
   if (body_data == NULL) {
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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