Skip to content

Commit

Permalink
dont need to namespace macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff Moon authored and macournoyer committed Dec 17, 2008
1 parent d5b523e commit 0ab1062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/thin_parser/thin.c
Expand Up @@ -331,12 +331,12 @@ VALUE Thin_HttpParser_execute(VALUE self, VALUE req_hash, VALUE data, VALUE star
http->data = (void *)req_hash;
thin_http_parser_execute(http, dptr, dlen, from);

VALIDATE_MAX_LENGTH(thin_http_parser_nread(http), HEADER);
VALIDATE_MAX_LENGTH(http_parser_nread(http), HEADER);

if(thin_http_parser_has_error(http)) {
rb_raise(eHttpParserError, "Invalid HTTP format, parsing fails.");
} else {
return INT2FIX(thin_http_parser_nread(http));
return INT2FIX(http_parser_nread(http));
}
}
}
Expand Down

0 comments on commit 0ab1062

Please sign in to comment.