mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
certinfo: fix unused var with NO_LOGS
This commit is contained in:
parent
ab683ca6a6
commit
cd3869e8b9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ callback_http(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
uint8_t buf[1280];
|
||||
union lws_tls_cert_info_results *ci =
|
||||
(union lws_tls_cert_info_results *)buf;
|
||||
#if defined(LWS_HAVE_CTIME_R)
|
||||
#if defined(LWS_HAVE_CTIME_R) && !defined(LWS_WITH_NO_LOGS)
|
||||
char date[32];
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue