summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--relay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/relay.c b/relay.c
index 30be3ec..59cdaa5 100644
--- a/relay.c
+++ b/relay.c
@@ -81,10 +81,8 @@ static void relay_process_headers(struct relay *r)
break;
line_len = newline + 1 - buf;
- if (newline > buf && newline[-1] == '\r') {
+ if (newline > buf && newline[-1] == '\r')
newline--;
- line_len++;
- }
*newline = 0;
if (newline == buf) {