discover: Add reference to url in load_url_result
[petitboot] / test / parser / utils.c
index 6bc7cc5e021ff4ea8d421dbe6a4507c52d521eb0..9d40d2b1e17bf123326e263c0307e60e92206fc6 100644 (file)
@@ -353,6 +353,7 @@ struct load_url_result *load_url_async(void *ctx, struct pb_url *url,
                return NULL;
 
        result->local = talloc_strdup(result, tmp);
+       result->url = url;
        if (rc < 0)
                result->status = LOAD_ERROR;
        else