From c2cd260311b2123a29bae17e151575457e8599b8 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 16 Nov 2016 09:00:45 +0800 Subject: [PATCH] lws_socket_bind: use lws_sockfd_type --- lib/libwebsockets.c | 2 +- lib/private-libwebsockets.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index ac5da5d7..f8c879a3 100755 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1473,7 +1473,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 diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 95cbabad..80cb4102 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -1463,7 +1463,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