From 27067b137286a40c47ae48bf6f296caf14688cd3 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 28 Jan 2013 20:24:20 -0500 Subject: dload: pass back the effective URL to callers of _alpm_download I suspect that eventually we're going to end up returning a pointer to an allocated struct to describe the download result, but that's for another patch when the need arises... Fixes FS#33508. Signed-off-by: Dave Reisner Signed-off-by: Allan McRae --- lib/libalpm/dload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/dload.h') diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 70e34791..95bb91a3 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -48,7 +48,7 @@ struct dload_payload { void _alpm_dload_payload_reset(struct dload_payload *payload); int _alpm_download(struct dload_payload *payload, const char *localpath, - char **final_file); + char **final_file, char **final_url); #endif /* _ALPM_DLOAD_H */ -- cgit v1.2.3-24-g4f1b