Permalink
Browse files

Coding style : remove space before ++

  • Loading branch information...
1 parent 148984c commit 50faa793f47025032021b7c75fd1eb3f7010f873 Bertrand Paquet committed Jul 24, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 http_parser.c
View
@@ -1999,14 +1999,14 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
if (s != s_http_host) {
u->field_data[UF_HOST].off = p - buf;
}
- u->field_data[UF_HOST].len ++;
+ u->field_data[UF_HOST].len++;
break;
case s_http_host_v6:
if (s != s_http_host_v6) {
u->field_data[UF_HOST].off = p - buf;
}
- u->field_data[UF_HOST].len ++;
+ u->field_data[UF_HOST].len++;
break;
case s_http_host_port:
@@ -2015,7 +2015,7 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
u->field_data[UF_PORT].len = 0;
u->field_set |= (1 << UF_PORT);
}
- u->field_data[UF_PORT].len ++;
+ u->field_data[UF_PORT].len++;
break;
case s_http_userinfo:
@@ -2024,7 +2024,7 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
u->field_data[UF_USERINFO].len = 0;
u->field_set |= (1 << UF_USERINFO);
}
- u->field_data[UF_USERINFO].len ++;
+ u->field_data[UF_USERINFO].len++;
break;
default:

0 comments on commit 50faa79

Please sign in to comment.