about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-04 17:43:59 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-04 17:43:59 -0700
commit3ebed5dbd35440cb1e892a1361c71dc0516c64e8 (patch)
treefc1454f4157716f7bcf2b8164e6369addd8de4a1
parentf704fba80a8522975b6c167a751f2b68298f1d66 (diff)
downloadclogger-3ebed5dbd35440cb1e892a1361c71dc0516c64e8.tar.gz
s/init_bad_response/init_bad_app_response/

The new name matches the variable it initializes more closely.
-rw-r--r--ext/clogger_ext/clogger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c
index fa8f9f6..3badf25 100644
--- a/ext/clogger_ext/clogger.c
+++ b/ext/clogger_ext/clogger.c
@@ -819,7 +819,7 @@ static VALUE clogger_init_copy(VALUE clone, VALUE orig)
 
 #define CONST_GLOBAL_STR(val) CONST_GLOBAL_STR2(val, #val)
 
-static void init_bad_response(void)
+static void init_bad_app_response(void)
 {
         g_bad_app_response = rb_ary_new();
         rb_ary_store(g_bad_app_response, 0, INT2NUM(500));
@@ -864,5 +864,5 @@ void Init_clogger_ext(void)
         CONST_GLOBAL_STR2(space, " ");
         CONST_GLOBAL_STR2(question_mark, "?");
         CONST_GLOBAL_STR2(rack_request_cookie_hash, "rack.request.cookie_hash");
-        init_bad_response();
+        init_bad_app_response();
 }