1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

fix compiler warning using curl_socket_t to store socket descriptor

This commit is contained in:
Yang Tse 2010-06-09 01:51:46 +02:00
parent feecf63a96
commit da6e992e1d

View File

@ -1199,7 +1199,7 @@ static CURLcode tftp_easy_statemach(struct connectdata *conn)
CURLcode result = CURLE_OK; CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data; struct SessionHandle *data = conn->data;
tftp_state_data_t *state = (tftp_state_data_t *)conn->proto.tftpc; tftp_state_data_t *state = (tftp_state_data_t *)conn->proto.tftpc;
int fd_read; curl_socket_t fd_read;
long timeout_ms; long timeout_ms;
struct SingleRequest *k = &data->req; struct SingleRequest *k = &data->req;
struct timeval transaction_start = Curl_tvnow(); struct timeval transaction_start = Curl_tvnow();