From a961b0e90b9c6621be447ff59b79a1c3d25b17c9 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Tue, 30 Dec 2014 13:13:26 +0800 Subject: [PATCH] fix type, send returns ssize_t --- src/mod/endpoints/mod_verto/ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_verto/ws.c b/src/mod/endpoints/mod_verto/ws.c index a572a89d07..db2e39e5ab 100644 --- a/src/mod/endpoints/mod_verto/ws.c +++ b/src/mod/endpoints/mod_verto/ws.c @@ -400,7 +400,7 @@ ssize_t ws_raw_read(wsh_t *wsh, void *data, size_t bytes, int block) ssize_t ws_raw_write(wsh_t *wsh, void *data, size_t bytes) { - size_t r; + ssize_t r; int sanity = 2000; int ssl_err = 0;