You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/08/20 12:56:09 UTC
svn commit: r1696755 - /httpd/httpd/trunk/modules/http2/h2_session.c
Author: icing
Date: Thu Aug 20 10:56:08 2015
New Revision: 1696755
URL: http://svn.apache.org/r1696755
Log:
fixed type of error parameter for invalid_frame_recv_cb callback
Modified:
httpd/httpd/trunk/modules/http2/h2_session.c
Modified: httpd/httpd/trunk/modules/http2/h2_session.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_session.c?rev=1696755&r1=1696754&r2=1696755&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_session.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_session.c Thu Aug 20 10:56:08 2015
@@ -112,7 +112,7 @@ static ssize_t send_cb(nghttp2_session *
static int on_invalid_frame_recv_cb(nghttp2_session *ngh2,
const nghttp2_frame *frame,
- nghttp2_error error, void *userp)
+ int error, void *userp)
{
h2_session *session = (h2_session *)userp;
(void)ngh2;
@@ -126,7 +126,7 @@ static int on_invalid_frame_recv_cb(nght
frame_print(frame, buffer, sizeof(buffer)/sizeof(buffer[0]));
ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, session->c,
"h2_session: callback on_invalid_frame_recv error=%d %s",
- (int)error, buffer);
+ error, buffer);
}
return 0;
}