index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-09 15:21:02 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-09 15:40:21 -0500 |
commit | 6803260f2608b0a0028f5382c5a498d61bce45c3 (patch) | |
tree | 8dd3f0036c7540f24d0e63261f263b2117d4a9cb /lib/libalpm | |
parent | 40ea6cd607d5edb2699c084259b237d435313670 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 6 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index dc4f91e5..ac47e94a 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -42,6 +42,9 @@ #include "util.h" #include "handle.h" +#ifdef HAVE_LIBCURL +static double prevprogress; /* last download amount */ + static const char *get_filename(const char *url) { char *filename = strrchr(url, '/'); @@ -51,9 +54,6 @@ static const char *get_filename(const char *url) return filename; } -#ifdef HAVE_LIBCURL -static double prevprogress; /* last download amount */ - static char *get_fullpath(const char *path, const char *filename, const char *suffix) { |