summaryrefslogtreecommitdiff
path: root/legacy/ethumb/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-06-01 10:56:35 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-06-01 10:56:35 +0000
commitfd331a68648b24af838ffa8766dc36e788f1f922 (patch)
tree7b7c623e317aa97b57a4bd7804f1ed0b5b598c94 /legacy/ethumb/src
parentbebbe2253ad3ac7ba4261d3222c477dc1c011595 (diff)
ethumb: fix restart of ethumbd_slave.
SVN revision: 59862
Diffstat (limited to '')
-rw-r--r--legacy/ethumb/src/bin/ethumbd.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/legacy/ethumb/src/bin/ethumbd.c b/legacy/ethumb/src/bin/ethumbd.c
index 2ed8886d51..f9508cdb27 100644
--- a/legacy/ethumb/src/bin/ethumbd.c
+++ b/legacy/ethumb/src/bin/ethumbd.c
@@ -512,7 +512,14 @@ end:
512 if (ed->slave.bufcmd) 512 if (ed->slave.bufcmd)
513 free(ed->slave.bufcmd); 513 free(ed->slave.bufcmd);
514 514
515 return _ethumbd_slave_spawn(&ed->slave, ed); 515 if (!_ethumbd_slave_spawn(&ed->slave, ed))
516 return EINA_FALSE;
517
518 /* restart all queue */
519 for (i = 0; i < ed->queue.count; ++i)
520 _ethumbd_child_write_op_new(&ed->slave, ed->queue.list[i]);
521
522 return EINA_TRUE;
516} 523}
517 524
518static void 525static void