Loading lib/security.c +7 −5 Original line number Diff line number Diff line Loading @@ -336,12 +336,14 @@ static ssize_t sec_write(struct connectdata *conn, int fd, return tx; } int Curl_sec_fflush_fd(struct connectdata *conn, int fd) /* FIXME: fd should be a curl_socket_t */ int Curl_sec_fflush_fd(struct connectdata *conn, int fd) { if(conn->data_prot != prot_clear) { if(conn->data_prot == prot_clear) return 0; /* Force a flush by trying to send no data */ do_sec_send(conn, fd, NULL, 0); } return 0; } Loading Loading
lib/security.c +7 −5 Original line number Diff line number Diff line Loading @@ -336,12 +336,14 @@ static ssize_t sec_write(struct connectdata *conn, int fd, return tx; } int Curl_sec_fflush_fd(struct connectdata *conn, int fd) /* FIXME: fd should be a curl_socket_t */ int Curl_sec_fflush_fd(struct connectdata *conn, int fd) { if(conn->data_prot != prot_clear) { if(conn->data_prot == prot_clear) return 0; /* Force a flush by trying to send no data */ do_sec_send(conn, fd, NULL, 0); } return 0; } Loading