Skip to content

Commit

Permalink
certinfo: fix unused var woth NO_LOGS
Browse files Browse the repository at this point in the history
  • Loading branch information
lws-team committed Mar 1, 2024
1 parent 3179273 commit 273bba9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 273bba9

Please sign in to comment.