From ecba0ed96d9236d39011fa44156ba6223d04ecbb Mon Sep 17 00:00:00 2001 From: lxsang Date: Tue, 13 Dec 2016 19:49:15 +0100 Subject: [PATCH] fix websocket --- plugins/ws.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ws.c b/plugins/ws.c index e64c23f..4a6246e 100644 --- a/plugins/ws.c +++ b/plugins/ws.c @@ -178,6 +178,7 @@ void ws_f(int client, const char* file) ptr = fopen(file,"rb"); if(!ptr) { + ws_close(client,1011); return; }