diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-03-30 09:31:14 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-03-30 09:31:14 +0000 |
commit | b87e5685a25acc5b9bb08dcbb811e58718068273 (patch) | |
tree | 6e8614e3a668a122094e399800636e5c589b58bb /ext | |
parent | 57ff055decb205ef18da1e5a9d6f21372cb9878d (diff) | |
download | unicorn-b87e5685a25acc5b9bb08dcbb811e58718068273.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@132 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext')
-rw-r--r-- | ext/http11/http11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c index 7062a02..b04012e 100644 --- a/ext/http11/http11.c +++ b/ext/http11/http11.c @@ -33,6 +33,8 @@ static VALUE global_mongrel_version; static VALUE global_server_software; static VALUE global_port_80; +#define DEF_GLOBAL(name, val) global_##name = rb_obj_freeze(rb_str_new2(val)); rb_global_variable(&global_##name); + void http_field(void *data, const char *field, size_t flen, const char *value, size_t vlen) { char *ch, *end; @@ -451,8 +453,6 @@ VALUE URIClassifier_resolve(VALUE self, VALUE uri) return result; } -#define DEF_GLOBAL(name, val) global_##name = rb_str_new2(val); rb_global_variable(&global_##name) - void Init_http11() { |