From 3ebed5dbd35440cb1e892a1361c71dc0516c64e8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 4 Sep 2009 17:43:59 -0700 Subject: ext: more consistent function naming s/init_bad_response/init_bad_app_response/ The new name matches the variable it initializes more closely. --- ext/clogger_ext/clogger.c | 4 ++-- 1 file 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(); } -- cgit v1.2.3-24-ge0c7