state->ret = -1;
/* first check if the input is ok */
+#ifdef IOV_MAX
if (count > IOV_MAX) {
tevent_req_error(req, EMSGSIZE);
goto post;
}
+#endif
for (i=0; i < count; i++) {
int tmp = to_read;
state->ret = -1;
/* first check if the input is ok */
+#ifdef IOV_MAX
if (count > IOV_MAX) {
tevent_req_error(req, EMSGSIZE);
goto post;
}
+#endif
for (i=0; i < count; i++) {
int tmp = to_write;