Allow non-head use of gwbuf_copy_data
Non-head links in a buffer chain can now be used with gwbuf_copy_data without triggering the debug assertion.
This commit is contained in:
parent
03d45c2ace
commit
1092203779
@ -723,7 +723,6 @@ GWBUF* gwbuf_make_contiguous(GWBUF* orig)
|
||||
|
||||
size_t gwbuf_copy_data(const GWBUF* buffer, size_t offset, size_t bytes, uint8_t* dest)
|
||||
{
|
||||
validate_buffer(buffer);
|
||||
uint32_t buflen;
|
||||
|
||||
/** Skip unrelated buffers */
|
||||
|
Loading…
x
Reference in New Issue
Block a user