mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
bug fix
This commit is contained in:
parent
915a7568bf
commit
d8770e95d4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue