Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
node_http_parser: fix whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Oct 2, 2012
1 parent 41e53e5 commit 109f8e2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/node_http_parser.cc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ static char* current_buffer_data;
static size_t current_buffer_len; static size_t current_buffer_len;




#define HTTP_CB(name) \ #define HTTP_CB(name) \
static int name(http_parser* p_) { \ static int name(http_parser* p_) { \
Parser* self = container_of(p_, Parser, parser_); \ Parser* self = container_of(p_, Parser, parser_); \
return self->name##_(); \ return self->name##_(); \
} \ } \
int name##_() int name##_()




#define HTTP_DATA_CB(name) \ #define HTTP_DATA_CB(name) \
static int name(http_parser* p_, const char* at, size_t length) { \ static int name(http_parser* p_, const char* at, size_t length) { \
Parser* self = container_of(p_, Parser, parser_); \ Parser* self = container_of(p_, Parser, parser_); \
return self->name##_(at, length); \ return self->name##_(at, length); \
} \ } \
int name##_(const char* at, size_t length) int name##_(const char* at, size_t length)




Expand Down

0 comments on commit 109f8e2

Please sign in to comment.