tcp: use socklen_t where appropriate rather than specific type

In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.
This commit is contained in:
Mark Nauwelaerts 2011-01-29 20:43:08 +01:00
parent 505fa27159
commit e5e09844ea

View file

@ -149,7 +149,7 @@ gst_tcp_server_sink_handle_server_read (GstTCPServerSink * sink)
/* new client */
int client_sock_fd;
struct sockaddr_in client_address;
unsigned int client_address_len;
socklen_t client_address_len;
/* For some stupid reason, client_address and client_address_len has to be
* zeroed */