From: Daniel Stenberg Date: Mon, 25 Sep 2000 22:16:36 +0000 (+0000) Subject: corrected curl_write() for kerberos X-Git-Tag: curl-7_3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d03db1cd11b44adddbd1989c26ec81d235f32f07;p=thirdparty%2Fcurl.git corrected curl_write() for kerberos --- diff --git a/lib/url.c b/lib/url.c index 514a648dd0..f3231436a0 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);