discover: Add reference to url in load_url_result
[petitboot] / discover / paths.c
index 7fcff9e0eaf3d8cc1ceb2e66cb68bbc279fd647f..8d856192b15a1acb0635bcf1c5db792c8a275898 100644 (file)
@@ -383,6 +383,7 @@ struct load_url_result *load_url_async(void *ctx, struct pb_url *url,
        task->async = async_cb != NULL;
        task->result = talloc_zero(ctx, struct load_url_result);
        task->result->task = task;
+       task->result->url = url;
        task->process = process_create(task);
        if (task->async) {
                task->async_cb = async_cb;