Skip to content
Snippets Groups Projects
Commit 2fd68e2b authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Add a runtime check.

parent 788a6772
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,7 @@ static int sctp_packet_to_string(FILE *s, struct packet *packet, int i,
if (*error != NULL)
break;
result = sctp_chunk_to_string(s, chunk, error);
assert(result != STATUS_OK || *error == NULL);
if (result != STATUS_OK)
break;
index++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment