rw_slice->len = 0;
rw_slice->mem = NULL;
- if (errno == EAGAIN) efl_io_reader_can_read_set(o, EINA_FALSE);
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return errno;
}
}
error:
rw_slice->len = 0;
rw_slice->mem = NULL;
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return EINVAL;
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
- if (errno == EAGAIN) efl_io_writer_can_write_set(o, EINA_FALSE);
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return errno;
}
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return EINVAL;
}
}
EOLIAN static Eina_Error
-_efl_net_server_udp_client_efl_io_writer_write(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd, Eina_Slice *ro_slice, Eina_Slice *remaining)
+_efl_net_server_udp_client_efl_io_writer_write(Eo *o, Efl_Net_Server_Udp_Client_Data *pd, Eina_Slice *ro_slice, Eina_Slice *remaining)
{
ssize_t r;
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return err;
}
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return EINVAL;
}
rw_slice->len = 0;
rw_slice->mem = NULL;
- if (err == EAGAIN) efl_io_reader_can_read_set(o, EINA_FALSE);
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return err;
}
}
error:
rw_slice->len = 0;
rw_slice->mem = NULL;
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return EINVAL;
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
- if (err == EAGAIN) efl_io_writer_can_write_set(o, EINA_FALSE);
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return err;
}
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return EINVAL;
}
rw_slice->len = 0;
rw_slice->mem = NULL;
- if (err == EAGAIN) efl_io_reader_can_read_set(o, EINA_FALSE);
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return err;
}
error:
rw_slice->len = 0;
rw_slice->mem = NULL;
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return EINVAL;
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
- if (err == EAGAIN) efl_io_writer_can_write_set(o, EINA_FALSE);
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return err;
}
}
if (remaining) *remaining = *ro_slice;
ro_slice->len = 0;
ro_slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return EINVAL;
}
error:
rw_slice->len = 0;
+ rw_slice->mem = NULL;
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return EINVAL;
}
error:
if (remaining) *remaining = *slice;
slice->len = 0;
+ slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return err;
}
error:
rw_slice->len = 0;
+ rw_slice->mem = NULL;
+ efl_io_reader_can_read_set(o, EINA_FALSE);
return EINVAL;
}
error:
if (remaining) *remaining = *slice;
slice->len = 0;
+ slice->mem = NULL;
+ efl_io_writer_can_write_set(o, EINA_FALSE);
return err;
}