diff options
author | Volker Lendecke <vl@samba.org> | 2016-03-25 21:43:20 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-05-04 01:28:22 +0200 |
commit | a5fd779aa1393bf83e5dd693293a85b06d8c33c1 (patch) | |
tree | ae899848aaf50c7d7f81fc0467bac36c1b398dfd /lib/util/base64.c | |
parent | a2c59d3e45e71b44d9135b35c1cf5522e04dec0e (diff) | |
download | samba-a5fd779aa1393bf83e5dd693293a85b06d8c33c1.tar.gz |
lib: The base64 chars are by definition single-byte :-)
Remove a dependency on charcnv
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/base64.c')
-rw-r--r-- | lib/util/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/base64.c b/lib/util/base64.c index bc78404c181..de26b5b8702 100644 --- a/lib/util/base64.c +++ b/lib/util/base64.c @@ -38,7 +38,7 @@ _PUBLIC_ DATA_BLOB base64_decode_data_blob_talloc(TALLOC_CTX *mem_ctx, const cha n=i=0; - while (*s && (p=strchr_m(b64,*s))) { + while (*s && (p=strchr(b64,*s))) { idx = (int)(p - b64); byte_offset = (i*6)/8; bit_offset = (i*6)%8; |