delete the rm task from the efm slave if there is a failure during the copy task

this should fix the problem described by the very angry message in ticket #729


SVN revision: 72395
This commit is contained in:
Mike Blumenkrantz 2012-06-18 13:17:48 +00:00
parent 7e43d22dad
commit 251a9b479a
1 changed files with 2 additions and 1 deletions

View File

@ -867,7 +867,7 @@ _e_fm_op_scan_idler(void *data __UNUSED__)
* are for this format string,
*/
static void
_e_fm_op_send_error(E_Fm_Op_Task *task __UNUSED__, E_Fm_Op_Type type, const char *fmt, ...)
_e_fm_op_send_error(E_Fm_Op_Task *task, E_Fm_Op_Type type, const char *fmt, ...)
{
va_list ap;
char buffer[READBUFSIZE];
@ -899,6 +899,7 @@ _e_fm_op_send_error(E_Fm_Op_Task *task __UNUSED__, E_Fm_Op_Type type, const char
}
va_end(ap);
_e_fm_op_remove_link_task(task);
}
/* Unrolls task: makes a clean up and updates progress info. */