Commit a227312d authored by Lucas Russo's avatar Lucas Russo

/src/libs/libbpmclient/*: accept any payload less than the maximum

This is needed for now, as we can have parameters that are less
the size of the structure, such as AFC Diagnostics functions.
parent 8abe9868
......@@ -196,8 +196,8 @@ bpm_client_err_e param_client_read_gen (bpm_client_t *self, char *service,
"<payload> parameter size does not match size in <number of payload bytes> parameter",
err_msg_fmt);
/* We only accept one RW_REPLY_SIZE bytes of payload for now */
ASSERT_TEST(zframe_size (data_out_frm) == size,
/* We accept any payload that is less than the specified size */
ASSERT_TEST(zframe_size (data_out_frm) <= size,
"Wrong <payload> parameter size", err_msg_fmt);
/* Copy the message contents to the user */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment