From 1abc62990a5817de56a55470fb2c62e966134722 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 13 Dec 2016 09:13:50 +0800 Subject: discover: Add reference to url in load_url_result We may want to access the loaded URL in a async handler. Signed-off-by: Jeremy Kerr Signed-off-by: Samuel Mendoza-Jonas --- test/parser/utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/parser/utils.c b/test/parser/utils.c index 6bc7cc5..9d40d2b 100644 --- a/test/parser/utils.c +++ b/test/parser/utils.c @@ -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 -- cgit v1.2.1