aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-17 10:24:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-17 10:24:59 +0000
commit429b09ee04b8fb8d488e0ae90cc5751df9f1797b (patch)
treede21aee6778bc46b0994da9de983b021cd1a5e16 /lib
parent6c2a9009e9e7dcdc3bee5c3fb4b8efd45dc67b64 (diff)
Curl_ prefix added to a few function calls
Diffstat (limited to 'lib')
-rw-r--r--lib/krb4.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/krb4.c b/lib/krb4.c
index be1b5a2c8..08d5bafc0 100644
--- a/lib/krb4.c
+++ b/lib/krb4.c
@@ -311,7 +311,7 @@ void Curl_krb_kauth(struct connectdata *conn)
int save;
- save = set_command_prot(conn, prot_private);
+ save = Curl_set_command_prot(conn, prot_private);
Curl_ftpsendf(conn->firstsocket, conn,
"SITE KAUTH %s", conn->data->user);
@@ -322,7 +322,7 @@ void Curl_krb_kauth(struct connectdata *conn)
return /*CURLE_OPERATION_TIMEOUTED*/;
if(/*ret != CONTINUE*/conn->data->buffer[0] != '3'){
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
/*code = -1;***/
return;
}
@@ -330,7 +330,7 @@ void Curl_krb_kauth(struct connectdata *conn)
p = strstr(conn->data->buffer, "T=");
if(!p) {
printf("Bad reply from server.\n");
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
return;
}
@@ -338,7 +338,7 @@ void Curl_krb_kauth(struct connectdata *conn)
tmp = Curl_base64_decode(p, &tkt.dat);
if(tmp < 0) {
printf("Failed to decode base64 in reply.\n");
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
return;
}
tkt.length = tmp;
@@ -347,7 +347,7 @@ void Curl_krb_kauth(struct connectdata *conn)
p = strstr(conn->data->buffer, "P=");
if(!p) {
printf("Bad reply from server.\n");
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
return;
}
name = p + 2;
@@ -375,7 +375,7 @@ void Curl_krb_kauth(struct connectdata *conn)
memset(passwd, 0, sizeof(passwd));
if(Curl_base64_encode(tktcopy.dat, tktcopy.length, &p) < 0) {
failf(conn->data, "Out of memory base64-encoding.\n");
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
return;
}
memset (tktcopy.dat, 0, tktcopy.length);
@@ -388,7 +388,7 @@ void Curl_krb_kauth(struct connectdata *conn)
if(nread < 0)
return /*CURLE_OPERATION_TIMEOUTED*/;
free(p);
- set_command_prot(conn, save);
+ Curl_set_command_prot(conn, save);
}
#endif /* KRB4 */