From 0099af525fe5efed85b27274d2341962b3929dae Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Fri, 6 Dec 2013 19:01:10 +0100 Subject: fixes in base64 encode and auth structure --- picohttp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'picohttp.c') diff --git a/picohttp.c b/picohttp.c index d813a3e..bfce031 100644 --- a/picohttp.c +++ b/picohttp.c @@ -826,7 +826,10 @@ static void picohttpProcessHeaderAuthorization( /* invalid chunk => abort the whole header */ return; } - for(size_t j=0; j < l && i < user_password_max_len; j++, i++) { + for(size_t j=0; + j < l + && i < user_password_max_len; + j++, i++) { user_password[i] = r[j]; } } -- cgit v1.2.3