libipm: Make sockets always non-blocking
This commit is contained in:
parent
8e27f231fd
commit
3d91ba6a22
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user