summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-13 19:00:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-13 19:00:47 +0900
commitd28ba7df86bc9b8d07186087114185134c8b4557 (patch)
tree34d97c20a443c56e37465b5dc78ecad1f2371f31 /src
parentb9df77692cf591215edb5a32cc8f7fb59d3e1e8b (diff)
efl net proxy helper - use infinite for and sleeps instead of pause
so the process was waiting to be killed (waiting forever) and i used pause() but this isnt windows-friendly, so since this process expects to be killed by the parent process, then use a for (;;) with lon long long sleeps... instead. this shoud fix T5174
Diffstat (limited to 'src')
-rw-r--r--src/bin/ecore_con/efl_net_proxy_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ecore_con/efl_net_proxy_helper.c b/src/bin/ecore_con/efl_net_proxy_helper.c
index 69c371a12f..30074d6af8 100644
--- a/src/bin/ecore_con/efl_net_proxy_helper.c
+++ b/src/bin/ecore_con/efl_net_proxy_helper.c
@@ -257,7 +257,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
257 // Failed to init libproxy so report this before exit 257 // Failed to init libproxy so report this before exit
258 fprintf(stdout, "F\n"); 258 fprintf(stdout, "F\n");
259 fflush(stdout); 259 fflush(stdout);
260 pause(); 260 for (;;) sleep(60 * 60 * 24);
261 } 261 }
262 eina_shutdown(); 262 eina_shutdown();
263 return 0; 263 return 0;