Author: rhuijben
Date: Mon Nov 16 23:36:29 2015
New Revision: 1714711

URL: http://svn.apache.org/viewvc?rev=1714711&view=rev
Log:
* protocols/http2_protocol.h
* protocols/http2_stream.c
  (serf_http2__stream_handle_hpack,
   serf_http2__stream_handle_data): Use bool for some arguments.

Modified:
    serf/trunk/protocols/http2_protocol.h
    serf/trunk/protocols/http2_stream.c

Modified: serf/trunk/protocols/http2_protocol.h
URL: 
http://svn.apache.org/viewvc/serf/trunk/protocols/http2_protocol.h?rev=1714711&r1=1714710&r2=1714711&view=diff
==============================================================================
--- serf/trunk/protocols/http2_protocol.h (original)
+++ serf/trunk/protocols/http2_protocol.h Mon Nov 16 23:36:29 2015
@@ -228,7 +228,7 @@ serf_bucket_t *
 serf_http2__stream_handle_hpack(serf_http2_stream_t *stream,
                                 serf_bucket_t *bucket,
                                 unsigned char frametype,
-                                int end_stream,
+                                bool end_stream,
                                 apr_size_t max_entry_size,
                                 serf_hpack_table_t *hpack_tbl,
                                 serf_config_t *config,
@@ -238,7 +238,7 @@ serf_bucket_t *
 serf_http2__stream_handle_data(serf_http2_stream_t *stream,
                                serf_bucket_t *bucket,
                                unsigned char frametype,
-                               int end_stream,
+                               bool end_stream,
                                serf_config_t *config,
                                serf_bucket_alloc_t *allocator);
 

Modified: serf/trunk/protocols/http2_stream.c
URL: 
http://svn.apache.org/viewvc/serf/trunk/protocols/http2_stream.c?rev=1714711&r1=1714710&r2=1714711&view=diff
==============================================================================
--- serf/trunk/protocols/http2_stream.c (original)
+++ serf/trunk/protocols/http2_stream.c Mon Nov 16 23:36:29 2015
@@ -603,7 +603,7 @@ serf_bucket_t *
 serf_http2__stream_handle_hpack(serf_http2_stream_t *stream,
                                 serf_bucket_t *bucket,
                                 unsigned char frametype,
-                                int end_stream,
+                                bool end_stream,
                                 apr_size_t max_entry_size,
                                 serf_hpack_table_t *hpack_tbl,
                                 serf_config_t *config,
@@ -657,7 +657,7 @@ serf_bucket_t *
 serf_http2__stream_handle_data(serf_http2_stream_t *stream,
                                serf_bucket_t *bucket,
                                unsigned char frametype,
-                               int end_stream,
+                               bool end_stream,
                                serf_config_t *config,
                                serf_bucket_alloc_t *allocator)
 {


Reply via email to