1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
This commit is contained in:
Steffen Vogel 2018-05-08 08:18:18 +02:00
parent 915a7568bf
commit d8770e95d4

View file

@ -676,7 +676,7 @@ int path_start(struct path *p)
* does not offer a file descriptor for polling, we will use a special
* thread function.
*/
struct path_source *ps0 = (struct path_source *) list_at(&p->sources, 0);
struct path_source *ps = (struct path_source *) list_at(&p->sources, 0);
if (list_length(&p->sources) == 1 && node_fd(ps->node) == -1)
ret = pthread_create(&p->tid, NULL, &path_run_single, p);
else