From b3d241164a7e34eed56159f4e0a8a2821b7ebf4d Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 24 Sep 2013 10:39:03 +0800 Subject: discover: load_url_async callback should take an int status We don't need a pointer here, just the status value. Signed-off-by: Jeremy Kerr --- discover/paths.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discover/paths.h') diff --git a/discover/paths.h b/discover/paths.h index 93788e9..2f52e82 100644 --- a/discover/paths.h +++ b/discover/paths.h @@ -16,7 +16,7 @@ char *join_paths(void *alloc_ctx, const char *a, const char *b); */ const char *mount_base(void); -typedef void (*load_url_callback)(void *data, int *status); +typedef void (*load_url_callback)(void *data, int status); /* Load a (potentially remote) file, and return a guaranteed-local name */ char *load_url_async(void *ctx, struct pb_url *url, unsigned int *tempfile, -- cgit v1.2.1