libipm: Make sockets always non-blocking

This commit is contained in:
matt335672 2022-03-02 10:57:16 +00:00
parent 8e27f231fd
commit 3d91ba6a22
2 changed files with 2 additions and 2 deletions

View File

@ -86,6 +86,8 @@ libipm_init_trans(struct trans *trans,
trans->extra_data = priv;
trans->extra_destructor = libipm_trans_destructor;
g_sck_set_non_blocking(trans->sck);
libipm_msg_in_reset(trans);
rv = E_LI_SUCCESS;

View File

@ -63,8 +63,6 @@ suite_test_libipm_calls_start(void)
enum libipm_status init1;
enum libipm_status init2;
g_sck_set_non_blocking(sck[1]);
t1->sck = sck[0];
t1->type1 = TRANS_TYPE_CLIENT;
t1->status = TRANS_STATUS_UP;