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

@@ -301,10 +301,10 @@ int nghttp2_submit_data(nghttp2_session *session, uint8_t flags,
const nghttp2_data_provider *data_prd)
{
int r;
nghttp2_data *data_frame;
nghttp2_private_data *data_frame;
uint8_t nflags = 0;
data_frame = malloc(sizeof(nghttp2_data));
data_frame = malloc(sizeof(nghttp2_private_data));
if(data_frame == NULL) {
return NGHTTP2_ERR_NOMEM;
}