mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 22:45:03 -05:00
s/socklen_t/curl_socklen_t/g
This commit is contained in:
parent
3f6854272f
commit
230dc699e2
@ -151,7 +151,7 @@ typedef struct tftp_state_data {
|
|||||||
unsigned short block;
|
unsigned short block;
|
||||||
struct Curl_sockaddr_storage local_addr;
|
struct Curl_sockaddr_storage local_addr;
|
||||||
struct Curl_sockaddr_storage remote_addr;
|
struct Curl_sockaddr_storage remote_addr;
|
||||||
socklen_t remote_addrlen;
|
curl_socklen_t remote_addrlen;
|
||||||
int rbytes;
|
int rbytes;
|
||||||
int sbytes;
|
int sbytes;
|
||||||
int blksize;
|
int blksize;
|
||||||
@ -1058,7 +1058,7 @@ static int tftp_getsock(struct connectdata *conn, curl_socket_t *socks,
|
|||||||
static CURLcode tftp_receive_packet(struct connectdata *conn)
|
static CURLcode tftp_receive_packet(struct connectdata *conn)
|
||||||
{
|
{
|
||||||
struct Curl_sockaddr_storage fromaddr;
|
struct Curl_sockaddr_storage fromaddr;
|
||||||
socklen_t fromlen;
|
curl_socklen_t fromlen;
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user