lws_socket_bind: use lws_sockfd_type

This commit is contained in:
Andy Green 2016-11-16 09:01:02 +08:00
parent aba9ad0ea0
commit ba5f80a00a
2 changed files with 2 additions and 2 deletions

View file

@ -1557,7 +1557,7 @@ lws_extension_callback_pm_deflate(struct lws_context *context,
#endif
LWS_EXTERN int
lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port,
lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port,
const char *iface)
{
#if LWS_POSIX

View file

@ -1307,7 +1307,7 @@ struct lws {
LWS_EXTERN int log_level;
LWS_EXTERN int
lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port,
lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port,
const char *iface);
LWS_EXTERN void