httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1696755 - /httpd/httpd/trunk/modules/http2/h2_session.c
Date Thu, 20 Aug 2015 10:56:09 GMT
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;
 }



Mime
View raw message