if (type == LWS_HTTP2_FRAME_TYPE_DATA) {
if (wsi->u.http2.tx_credit < len)
lwsl_err("%s: %p: sending payload len %d"
- " but tx_credit only %d!\n", len,
+ " but tx_credit only %d!\n", __func__, wsi, len,
wsi->u.http2.tx_credit);
wsi->u.http2.tx_credit -= len;
}
lwsl_notice(" HTTP2 / ALPN enabled\n");
#else
lwsl_notice(
- " HTTP2 / ALPN configured but not supported by OpenSSL 0x%x\n",
+ " HTTP2 / ALPN configured but not supported by OpenSSL 0x%lx\n",
OPENSSL_VERSION_NUMBER);
#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
}