From 2bc8a718255477a14d1335e70f9d58c97aafe72b Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 22 Sep 2015 15:33:55 +0200 Subject: [PATCH] do not send asynchronously as long no message was received --- server/src/path.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/path.c b/server/src/path.c index 7586bbb5b..26c7dca16 100644 --- a/server/src/path.c +++ b/server/src/path.c @@ -58,7 +58,8 @@ static void * path_run_async(void *arg) if (path_run_hook(p, HOOK_ASYNC)) continue; - path_write(p); + if (p->received > 0) + path_write(p); } return NULL;