diff options
author | Stefan Fritsch <sf@apache.org> | 2010-09-10 16:43:49 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-09-10 16:43:49 +0000 |
commit | 3a8e05d6c2283a94a918d424b10116966992cf6a (patch) | |
tree | 9082c4d30c548abd227c3f201855b92748843b60 /encoding | |
parent | 7964f802ba8918a7241a070f466502e83ef57ca6 (diff) | |
download | apr-3a8e05d6c2283a94a918d424b10116966992cf6a.tar.gz |
Correctly document the handling of trailing \0 characters
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@995861 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'encoding')
-rw-r--r-- | encoding/apr_base64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/encoding/apr_base64.c b/encoding/apr_base64.c index 533859130..d553631dc 100644 --- a/encoding/apr_base64.c +++ b/encoding/apr_base64.c @@ -139,8 +139,9 @@ APR_DECLARE(int) apr_base64_decode(char *bufplain, const char *bufcoded) return len; } -/* This is the same as apr_base64_decode() except on EBCDIC machines, where - * the conversion of the output to ebcdic is left out. +/* This is the same as apr_base64_decode() except: + * - no \0 is appended + * - on EBCDIC machines, the conversion of the output to ebcdic is left out */ APR_DECLARE(int) apr_base64_decode_binary(unsigned char *bufplain, const char *bufcoded) |