1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

corrected curl_write() for kerberos

This commit is contained in:
Daniel Stenberg 2000-09-25 22:16:36 +00:00
parent 1dac7f4d05
commit d03db1cd11

View File

@ -586,7 +586,7 @@ CURLcode curl_write(CURLconnect *c_conn, char *buf, size_t amount,
#endif #endif
#ifdef KRB4 #ifdef KRB4
if(conn->sec_complete) if(conn->sec_complete)
bytes_written = sec_write(conn, conn->sockfd, buf, amount); bytes_written = sec_write(conn, conn->writesockfd, buf, amount);
else else
#endif #endif
bytes_written = swrite(conn->writesockfd, buf, amount); bytes_written = swrite(conn->writesockfd, buf, amount);