commit | 86ae825fb67734391fc7cc72d5c9b004570ab0a9 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Tue Nov 12 18:17:00 2013 +0100 |
committer | Nikias Bassen <nikias@gmx.li> | Tue Nov 12 18:17:00 2013 +0100 |
tree | f95f0ab59def65e733c78359a782c83d9286175e | |
parent | 4a7a0877fb91c5aefa82ac8ae63fdbb8f01ae7a4 [diff] |
base64: get rid of strtok_r and use strspn+strcspn instead strtok_r is not available on win32 and the designated strtok_s function is reported to not work on windows xp. Hence we use an easier an non-destructive implementation with strspn and strcspn to strip out the whitespace.