diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-12-06 19:01:10 +0100 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-12-06 19:01:10 +0100 |
commit | 0099af525fe5efed85b27274d2341962b3929dae (patch) | |
tree | 406f34c673b53b4a3c1b1f9d92463a16a50a5fa7 /picohttp.c | |
parent | 65930003e56b64afdde64cd9597e55b21d08b7c3 (diff) | |
download | litheweb-0099af525fe5efed85b27274d2341962b3929dae.tar.gz litheweb-0099af525fe5efed85b27274d2341962b3929dae.tar.bz2 |
fixes in base64 encode and auth structure
Diffstat (limited to 'picohttp.c')
-rw-r--r-- | picohttp.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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]; } } |