1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

do not send asynchronously as long no message was received

This commit is contained in:
Steffen Vogel 2015-09-22 15:33:55 +02:00
parent f53d7284d1
commit 2bc8a71825

View file

@ -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;