/* Return the number of data frames saved so far for the specified stream.  */
static guint spdy_get_num_data_frames(spdy_conv_t *conv_data, guint32 stream_id)
/* Return the number of data frames saved so far for the specified stream.  */
static guint spdy_get_num_data_frames(spdy_conv_t *conv_data, guint32 stream_id)
{
  spdy_stream_info_t *si = spdy_get_stream_info(conv_data, stream_id);
  return si == NULL ? 0 : si->num_data_frames;
}