summaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-22 18:56:29 +0000
committerYang Tse <yangsita@gmail.com>2010-02-22 18:56:29 +0000
commit439f62bfa8fff1b6370c286f4e06775aa81661bc (patch)
tree2b63d28f849d4b9dce83325af286b6b4010c40e0 /lib/base64.c
parent693abbae3a20eaadc36759b89722fd2d38b95004 (diff)
downloadcurl-439f62bfa8fff1b6370c286f4e06775aa81661bc.tar.gz
convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
Diffstat (limited to 'lib/base64.c')
-rw-r--r--lib/base64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base64.c b/lib/base64.c
index fd0340dd3..2361d9e75 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -71,11 +71,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
x = (x << 6);
}
- dest[2] = Curl_ultouc(x);
+ dest[2] = curlx_ultouc(x);
x >>= 8;
- dest[1] = Curl_ultouc(x);
+ dest[1] = curlx_ultouc(x);
x >>= 8;
- dest[0] = Curl_ultouc(x);
+ dest[0] = curlx_ultouc(x);
}
/*