aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-09-25 22:16:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-09-25 22:16:36 +0000
commitd03db1cd11b44adddbd1989c26ec81d235f32f07 (patch)
treec373e7ec992104ae1eccf686653ff9d163101917 /lib
parent1dac7f4d055242c66a8d87d77ae6b697f090d54a (diff)
corrected curl_write() for kerberos
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 514a648dd..f3231436a 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -586,7 +586,7 @@ CURLcode curl_write(CURLconnect *c_conn, char *buf, size_t amount,
#endif
#ifdef KRB4
if(conn->sec_complete)
- bytes_written = sec_write(conn, conn->sockfd, buf, amount);
+ bytes_written = sec_write(conn, conn->writesockfd, buf, amount);
else
#endif
bytes_written = swrite(conn->writesockfd, buf, amount);