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.
This commit is contained in:
Yang Tse 2010-02-22 18:56:29 +00:00
parent 693abbae3a
commit 439f62bfa8
9 changed files with 56 additions and 92 deletions

View file

@ -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);
}
/*