From 23814863e10e12a0759d5a2ee54914c5dbb19d22 Mon Sep 17 00:00:00 2001 From: yne Date: Sat, 20 Feb 2016 19:18:39 +0100 Subject: [PATCH] Remove useless increment --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index 8d39bd130..3c1ff681b 100644 --- a/http.c +++ b/http.c @@ -511,6 +511,6 @@ char *base64_encode(const char *str) case 0: break; } - buf[d++] = 0; + buf[d] = 0; return buf; }