diff --git a/lib/http2.c b/lib/http2.c index ea949405..39aa989e 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -176,7 +176,7 @@ int lws_http2_frame_write(struct lws *wsi, int type, int flags, 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; } diff --git a/lib/ssl-http2.c b/lib/ssl-http2.c index f03ee602..eb3d2084 100644 --- a/lib/ssl-http2.c +++ b/lib/ssl-http2.c @@ -100,7 +100,7 @@ lws_context_init_http2_ssl(struct lws_vhost *vhost) 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 }