1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Moved TRACE below the var decls, was throwing errors on FreeBSD gcc.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@16 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
why 2006-01-30 20:17:17 +00:00
parent 6bcf6e6d94
commit 4af3352bee

View file

@ -79,9 +79,9 @@ void HttpParser_free(void *data) {
VALUE HttpParser_alloc(VALUE klass)
{
TRACE();
VALUE obj;
http_parser *hp = calloc(1, sizeof(http_parser));
TRACE();
hp->http_field = http_field;
hp->request_method = request_method;
hp->path_info = path_info;
@ -233,9 +233,9 @@ void URIClassifier_free(void *data)
VALUE URIClassifier_alloc(VALUE klass)
{
TRACE();
VALUE obj;
struct tst *tst = tst_init(TRIE_INCREASE);
TRACE();
assert(tst && "failed to initialize trie structure");
obj = Data_Wrap_Struct(klass, NULL, URIClassifier_free, tst);