index = relay_index_create(stream, net_seq_num);
if (!index) {
ERR("Cannot create index for stream id %" PRIu64 " and seq_num %" PRIu64,
- index->stream->stream_handle, net_seq_num);
+ stream->stream_handle, net_seq_num);
goto end;
}
oldindex = relay_index_add_unique(stream, index);