Theldus / wsServer

wsServer - a tiny WebSocket server library written in C
https://theldus.github.io/wsServer
GNU General Public License v3.0
422 stars 80 forks source link

change wfd->sock to wfd->client->client_sock #52

Closed tetti-de closed 2 years ago

tetti-de commented 2 years ago

If you define the macro VERBOSE_MODE to activate the DEBUG output, you will get the error message wsServer/src/ws.c:942:28: Error: »struct ws_frame_data« has no element with the name »sock«

This request fixes the error

Theldus commented 2 years ago

Hi @tetti-de, You are completely right, thanks for noticing this =).