ethumb: fix restart of ethumbd_slave.

SVN revision: 59862
This commit is contained in:
Cedric BAIL 2011-06-01 10:56:35 +00:00
parent bebbe2253a
commit fd331a6864
1 changed files with 8 additions and 1 deletions

View File

@ -512,7 +512,14 @@ end:
if (ed->slave.bufcmd)
free(ed->slave.bufcmd);
return _ethumbd_slave_spawn(&ed->slave, ed);
if (!_ethumbd_slave_spawn(&ed->slave, ed))
return EINA_FALSE;
/* restart all queue */
for (i = 0; i < ed->queue.count; ++i)
_ethumbd_child_write_op_new(&ed->slave, ed->queue.list[i]);
return EINA_TRUE;
}
static void