Rename nghttp2_data as nghttp2_private_data

This is a preparation to add public nghttp2_data struct to
nghttp2_frame union.
This commit is contained in:
Tatsuhiro Tsujikawa
2014-01-27 21:22:33 +09:00
parent 04b7350719
commit fc07a62337
8 changed files with 25 additions and 22 deletions

View File

@@ -3576,7 +3576,7 @@ void test_nghttp2_session_data_read_temporal_failure(void)
my_user_data ud;
nghttp2_data_provider data_prd;
nghttp2_frame frame;
nghttp2_data *data_frame;
nghttp2_private_data *data_frame;
nghttp2_stream *stream;
size_t data_size = 128*1024;
@@ -3599,7 +3599,7 @@ void test_nghttp2_session_data_read_temporal_failure(void)
stream = nghttp2_session_get_stream(session, 1);
CU_ASSERT(NULL != stream->deferred_data);
CU_ASSERT(NGHTTP2_CAT_DATA == stream->deferred_data->frame_cat);
data_frame = (nghttp2_data*)stream->deferred_data->frame;
data_frame = (nghttp2_private_data*)stream->deferred_data->frame;
data_frame->data_prd.read_callback =
temporal_failure_data_source_read_callback;