Add more packet splitting debug assertions

Having more debug assertions in functions that split packets guarantees
that they work as expected.
This commit is contained in:
Markus Mäkelä
2018-07-20 11:16:39 +03:00
parent d68f20b75b
commit bbe4f42935
3 changed files with 13 additions and 12 deletions

View File

@ -795,6 +795,7 @@ gwbuf_make_contiguous(GWBUF *orig)
if (orig == NULL)
{
ss_info_dassert(!true, "gwbuf_make_contiguous: NULL buffer");
return NULL;
}
if (orig->next == NULL)