ct->inbuf = sit.buf;
ct->in_loaded = &sit.loaded;
ct->in_error = &sit.task.error;
- t->error = -1;
+ t->error = -E_TASK_STARTED;
goto min_delay;
}
if (ct->status == CL_RECEIVING) {
sot.loaded = &ct->loaded;
sot.input_error = &ct->task.error;
register_task(&sot.task);
- t->error = -1;
+ t->error = -E_TASK_STARTED;
goto min_delay;
}
return;
/* these do not need error handling (yet) */
#define SERVER_ERRORS
-#define CLIENT_ERRORS
#define WAV_ERRORS
#define COMPRESS_ERRORS
#define TIME_ERRORS
extern const char **para_errlist[];
+#define CLIENT_ERRORS \
+ PARA_ERROR(TASK_STARTED, "task started"), \
+
+
#define AFH_ERRORS \
PARA_ERROR(AFH_SYNTAX, "afh syntax error"), \
PARA_ERROR(AFH_SHORT_WRITE, "afh short write"), \