1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

fix unused var if no enable openssl

Signed-off-by: Jack Mitchell <ml@communistcode.co.uk>
This commit is contained in:
Jack Mitchell 2013-01-30 18:53:36 +08:00 committed by Andy Green
parent 769153ec5d
commit daed4fbd54

View file

@ -704,7 +704,9 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
struct timeval tv;
unsigned char buf[LWS_SEND_BUFFER_PRE_PADDING + 1 +
MAX_USER_RX_BUFFER + LWS_SEND_BUFFER_POST_PADDING];
#ifdef LWS_OPENSSL_SUPPORT
char ssl_err_buf[512];
#endif
#ifndef LWS_NO_EXTENSIONS
int more = 1;