/* NOTE that the cast is safe, neither of the krb5, gnu gss and heimdal
* libraries modify the input buffer in gss_seal()
*/
/* NOTE that the cast is safe, neither of the krb5, gnu gss and heimdal
* libraries modify the input buffer in gss_seal()
*/
for(;;) {
/* this really shouldn't be repeated here, but can't help it */
if(service == srv_host) {
for(;;) {
/* this really shouldn't be repeated here, but can't help it */
if(service == srv_host) {
result = Curl_base64_encode(data, (char *)output_buffer.value,
output_buffer.length, &p, &base64_sz);
if(result) {
Curl_infof(data, "base64-encoding: %s\n",
curl_easy_strerror(result));
result = Curl_base64_encode(data, (char *)output_buffer.value,
output_buffer.length, &p, &base64_sz);
if(result) {
Curl_infof(data, "base64-encoding: %s\n",
curl_easy_strerror(result));
- cmd = aprintf("ADAT %s", p);
- if(cmd)
- result = Curl_ftpsend(conn, cmd);
- else
- result = CURLE_OUT_OF_MEMORY;
+ result = Curl_ftpsendf(conn, "ADAT %s", p);