index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-06-05 17:34:33 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-05 17:34:33 -0400 |
commit | f7912e9dc6be71b177d546da0f8d005e7b4af9e8 (patch) | |
tree | 14f9c7be0757de98d2325b3623eac2a45a438a16 /lib/libalpm/server.c | |
parent | 4906b76c85bc93c4a86dfa8449d58b55ede30425 (diff) |
-rw-r--r-- | lib/libalpm/server.c | 4 |
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index c36f9ba8..ec1b03f3 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -47,7 +47,7 @@ * @return the downloaded filename on success, NULL on error * @addtogroup alpm_misc */ -char SYMEXPORT *alpm_fetch_pkgurl(char *url) +char SYMEXPORT *alpm_fetch_pkgurl(const char *url) { ALPM_LOG_FUNC; @@ -420,7 +420,7 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath, return(done ? 0 : -1); } -char *_alpm_fetch_pkgurl(char *target) +char *_alpm_fetch_pkgurl(const char *target) { pmserver_t *server; char *filename; |