Cleanups and commenting.

Change-Id: I491a68af8614198af450942cd378c9486f27d338
This commit is contained in:
Peter Johnson
2015-06-26 01:23:36 -07:00
parent 95d0736bb6
commit e37a9d81f1
7 changed files with 141 additions and 46 deletions

View File

@@ -118,7 +118,7 @@ std::size_t Base64Decode(char *bufplain, const char *bufcoded) {
nprbytes -= 4;
}
// Note: (nprbytes == 1) would be an error, so just ingore that case
// Note: (nprbytes == 1) would be an error, so just ignore that case
if (nprbytes > 1) {
*(bufout++) = (unsigned char)(pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4);
}