From 50faa793f47025032021b7c75fd1eb3f7010f873 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Wed, 25 Jul 2012 00:20:03 +0200 Subject: [PATCH] Coding style : remove space before ++ --- http_parser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/http_parser.c b/http_parser.c index 380026e..b8c092a 100644 --- a/http_parser.c +++ b/http_parser.c @@ -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: