aboutsummaryrefslogtreecommitdiff
path: root/picohttp.c
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-12-06 19:01:10 +0100
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-12-06 19:01:10 +0100
commit0099af525fe5efed85b27274d2341962b3929dae (patch)
tree406f34c673b53b4a3c1b1f9d92463a16a50a5fa7 /picohttp.c
parent65930003e56b64afdde64cd9597e55b21d08b7c3 (diff)
downloadlitheweb-0099af525fe5efed85b27274d2341962b3929dae.tar.gz
litheweb-0099af525fe5efed85b27274d2341962b3929dae.tar.bz2
fixes in base64 encode and auth structure
Diffstat (limited to 'picohttp.c')
-rw-r--r--picohttp.c5
1 files changed, 4 insertions, 1 deletions
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];
}
}