diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-28 04:34:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-28 04:34:46 +0000 |
commit | 230dc699e2b7748edfc69c9ceba54c6ea7ef0344 (patch) | |
tree | 63cce840f4676c9b4b9c05f1e4267364339e9052 /lib | |
parent | 3f6854272f691898320ba53dfef845da29e619ad (diff) |
s/socklen_t/curl_socklen_t/g
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index 109183e6a..0d6d8f78f 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -151,7 +151,7 @@ typedef struct tftp_state_data { unsigned short block; struct Curl_sockaddr_storage local_addr; struct Curl_sockaddr_storage remote_addr; - socklen_t remote_addrlen; + curl_socklen_t remote_addrlen; int rbytes; int sbytes; 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) { struct Curl_sockaddr_storage fromaddr; - socklen_t fromlen; + curl_socklen_t fromlen; CURLcode result = CURLE_OK; struct SessionHandle *data = conn->data; tftp_state_data_t *state = (tftp_state_data_t *)conn->proto.tftpc; |