Skip to content

Commit

Permalink
Fix query queue mode len test
Browse files Browse the repository at this point in the history
  • Loading branch information
semhoun committed Nov 16, 2023
1 parent 36974fc commit b282856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/registration.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ static int prv_getParameters(multi_option_t * query,
else if (lwm2m_strncmp((char *)query->data, QUERY_QUEUE_MODE, QUERY_QUEUE_MODE_LEN) == 0)
{
if ((*bindingP & BINDING_Q) != 0) goto error;
if (query->len != QUERY_BINDING_LEN) goto error;
if (query->len != QUERY_QUEUE_MODE_LEN) goto error;

*bindingP |= BINDING_Q;
}
Expand Down

0 comments on commit b282856

Please sign in to comment.