diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-14 17:08:18 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-14 23:17:55 -0700 |
commit | dbca9cc80d682305440ac4a94c5c72c8cf076021 (patch) | |
tree | b1f35122fbea821f8b3e7369d78f0418abbc61f4 /ext/unicorn_http/unicorn_http.rl | |
parent | 524aaed06a00780d698ad2becd66bd6d7fa5723d (diff) | |
download | unicorn-dbca9cc80d682305440ac4a94c5c72c8cf076021.tar.gz |
Rubinius does not support frozen objects, maybe other Rubies lack support for it as well.
Diffstat (limited to 'ext/unicorn_http/unicorn_http.rl')
-rw-r--r-- | ext/unicorn_http/unicorn_http.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicorn_http/unicorn_http.rl b/ext/unicorn_http/unicorn_http.rl index 59748e2..ee23a52 100644 --- a/ext/unicorn_http/unicorn_http.rl +++ b/ext/unicorn_http/unicorn_http.rl @@ -192,7 +192,7 @@ static void write_value(VALUE req, struct http_parser *hp, HP_FL_SET(hp, HASTRAILER); hp_invalid_if_trailer(hp); } else { - assert(OBJ_FROZEN(f) && "unfrozen object returned"); + assert_frozen(f); } e = rb_hash_aref(req, f); |