From 64f8ea918cda19f9178194aef8c630458708b73d Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 4 Jul 2013 08:40:35 +0900 Subject: [PATCH] ethumbd - set default timeout for ethumbd to 2 seconds --- src/bin/ethumb_client/ethumbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c index 82b26b0..ba2b5d2 100644 --- a/src/bin/ethumb_client/ethumbd.c +++ b/src/bin/ethumb_client/ethumbd.c @@ -941,6 +941,7 @@ _ethumb_dbus_ethumb_new_cb(const Eldbus_Service_Interface *interface, const Eldb EINA_TRUE); _ethumbd_child_write_op_new(&ed->slave, i); _ethumbd_timeout_stop(ed); + _ethumbd_timeout_start(ed); end_new: reply = eldbus_message_method_return_new(msg); @@ -1689,7 +1690,7 @@ main(int argc, char *argv[]) int arg_idx; Ethumbd ed; int child; - double timeout = -1; + double timeout = 2.0; memset(&ed, 0, sizeof(ed)); ecore_init(); -- 2.7.4