index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-09-06 11:20:51 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-06 11:20:51 -0500 |
commit | fe788ee4a68d2a8ba3bc3f938172294589c36fc4 (patch) | |
tree | 4de0ab1764f2b64502186d15cc1a11e4f33c8240 /lib/libalpm/dload.c | |
parent | 881bf5c90f18cae47d4da06e570c934fdbdd4ecc (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 6 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 32096e24..9b59f520 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -38,7 +38,7 @@ #include <sys/param.h> /* MAXHOSTNAMELEN */ #endif -#ifdef HAVE_FETCH +#ifdef HAVE_LIBFETCH #include <fetch.h> #endif @@ -58,7 +58,7 @@ static char *get_filename(const char *url) { return(filename); } -#ifdef HAVE_FETCH +#ifdef HAVE_LIBFETCH static char *get_destfile(const char *path, const char *filename) { char *destfile; /* len = localpath len + filename len + null */ @@ -338,7 +338,7 @@ cleanup: static int download(const char *url, const char *localpath, int force) { if(handle->fetchcb == NULL) { -#ifdef HAVE_FETCH +#ifdef HAVE_LIBFETCH return(download_internal(url, localpath, force)); #else RET_ERR(PM_ERR_EXTERNAL_DOWNLOAD, -1); |