summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/curlx/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/curlx/base64.c')
-rw-r--r--libs/libcurl/src/curlx/base64.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/libcurl/src/curlx/base64.c b/libs/libcurl/src/curlx/base64.c
index 5396eba41a..d988cc8e08 100644
--- a/libs/libcurl/src/curlx/base64.c
+++ b/libs/libcurl/src/curlx/base64.c
@@ -61,9 +61,9 @@ static const unsigned char decodetable[] =
/*
* curlx_base64_decode()
*
- * Given a base64 NUL-terminated string at src, decode it and return a
- * pointer in *outptr to a newly allocated memory area holding decoded
- * data. Size of decoded data is returned in variable pointed by outlen.
+ * Given a base64 null-terminated string at src, decode it and return a
+ * pointer in *outptr to a newly allocated memory area holding decoded data.
+ * Size of decoded data is returned in variable pointed by outlen.
*
* Returns CURLE_OK on success, otherwise specific error code. Function
* output shall not be considered valid unless CURLE_OK is returned.
@@ -247,7 +247,7 @@ static CURLcode base64_encode(const char *table64,
* encoded data. Size of encoded data is returned in variable pointed by
* outlen.
*
- * Input length of 0 indicates input buffer holds a NUL-terminated string.
+ * Input length of 0 indicates input buffer holds a null-terminated string.
*
* Returns CURLE_OK on success, otherwise specific error code. Function
* output shall not be considered valid unless CURLE_OK is returned.
@@ -269,7 +269,7 @@ CURLcode curlx_base64_encode(const char *inputbuff, size_t insize,
* encoded data. Size of encoded data is returned in variable pointed by
* outlen.
*
- * Input length of 0 indicates input buffer holds a NUL-terminated string.
+ * Input length of 0 indicates input buffer holds a null-terminated string.
*
* Returns CURLE_OK on success, otherwise specific error code. Function
* output shall not be considered valid unless CURLE_OK is returned.