Skip to content
Snippets Groups Projects
Commit 4503d2d0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa
Browse files

Remove assertion because it might fail

parent 04a48c52
No related merge requests found
......@@ -160,9 +160,8 @@ static int rob_write_data(ngtcp2_rob *rob, uint64_t offset, const uint8_t *data,
ngtcp2_rob_data_del(d, rob->mem);
return rv;
}
} else if (d->range.begin + rob->chunk <= offset) {
assert(0);
}
n = ngtcp2_min(len, d->range.begin + rob->chunk - offset);
memcpy(d->begin + (offset - d->range.begin), data, n);
offset += n;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment