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

Use appropriate structure.

parent 2fdebc40
No related branches found
No related tags found
No related merge requests found
......@@ -3058,7 +3058,7 @@ sctp_sndinfo
sctp_setadaptation
: '{' SSB_ADAPTATION_IND '=' INTEGER '}' {
$$ = new_expression(EXPR_SCTP_SETADAPTATION);
$$->value.sctp_setadaptation = calloc(1, sizeof(struct sctp_setadaptation));
$$->value.sctp_setadaptation = calloc(1, sizeof(struct sctp_setadaptation_expr));
if (!is_valid_u32($4)) {
semantic_error("ssb_adaptation_ind out of range");
}
......
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