fix websocket

This commit is contained in:
lxsang 2016-12-13 19:49:15 +01:00
parent 6d32fdfc3d
commit ecba0ed96d

View File

@ -178,6 +178,7 @@ void ws_f(int client, const char* file)
ptr = fopen(file,"rb"); ptr = fopen(file,"rb");
if(!ptr) if(!ptr)
{ {
ws_close(client,1011);
return; return;
} }