Remove libipm_msg_in_start()
The semantics of this call allowed it to be called more than once when parsing a message to restart a parse. This is not likely to be useful in practice, and it also makes reading file descriptors more complicated. Consequently this function has been removed and replaced with with libipm_msg_in_get_msgno()
This commit is contained in:
@@ -116,7 +116,7 @@ check_for_incoming_message(unsigned short expected_msgno)
|
||||
status = libipm_msg_in_wait_available(g_t_in);
|
||||
ck_assert_int_eq(status, E_LI_SUCCESS);
|
||||
|
||||
msgno = libipm_msg_in_start(g_t_in);
|
||||
msgno = libipm_msg_in_get_msgno(g_t_in);
|
||||
ck_assert_int_eq(msgno, expected_msgno);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user