summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_authcookie.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:07:38 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:07:38 (GMT)
commit1191bd7af1f78db7b8e6d0bd174df360d5c1407d (patch)
tree98c502fde4137957bf5607f2f7e257d15681133d /Utilities/cmxmlrpc/xmlrpc_authcookie.c
parent2e00f02112fa92533d75757464ff1683691eebbd (diff)
downloadCMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.zip
CMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.tar.gz
CMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.tar.bz2
ENH: Attempt to remove threading code
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_authcookie.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_authcookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_authcookie.c b/Utilities/cmxmlrpc/xmlrpc_authcookie.c
index 83541b9..1da929f 100644
--- a/Utilities/cmxmlrpc/xmlrpc_authcookie.c
+++ b/Utilities/cmxmlrpc/xmlrpc_authcookie.c
@@ -51,7 +51,7 @@ void xmlrpc_authcookie_set ( xmlrpc_env *env,
sprintf(unencoded, "%s:%s", username, password);
/* Create encoded string. */
- token = xmlrpc_base64_encode_without_newlines(env, unencoded,
+ token = xmlrpc_base64_encode_without_newlines(env, (unsigned char*)unencoded,
strlen(unencoded));
XMLRPC_FAIL_IF_FAULT(env);