diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 0f52435..f6635d3 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -260,7 +260,7 @@ static void init_peers(fastd_context *ctx) { static void handle_tasks(fastd_context *ctx) { fastd_task *task; while ((task = fastd_task_get(ctx)) != NULL) { - switch (task->type) { + switch (task->any.type) { case TASK_SEND: if (task->send.peer) { struct msghdr msg; |