]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use the correct instance variable
authorAlan T. DeKok <aland@freeradius.org>
Tue, 2 Apr 2019 18:25:44 +0000 (14:25 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 2 Apr 2019 18:25:44 +0000 (14:25 -0400)
src/modules/proto_detail/proto_detail_file.c

index 33855a45467b4364a3020b69f12a7c2d9fdedfab..b5e677ae9d2d32952d7db7536837623d6f99988e 100644 (file)
@@ -327,7 +327,7 @@ static int work_exists(proto_detail_file_thread_t *thread, int fd)
 
        li->app_io_instance = inst->parent->work_io_instance;
        work->inst = li->app_io_instance;
-       work->file_parent = li->thread_instance;
+       work->file_parent = thread;
        work->ev = NULL;
 
        li->fd = work->fd = dup(fd);