index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-18 09:42:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-18 07:38:31 -0500 |
commit | 0745288c1441c73a0c6ce4279823d8363bcdc62f (patch) | |
tree | e46f70f0fe8e84ce8d9a0faebbb3554f155eb37f | |
parent | 9f139550f815e2970b8929094e50acfd8b4cc2b7 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 1 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 68a68e9c..3376ec40 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -450,6 +450,7 @@ char SYMEXPORT *alpm_fetch_pkgurl(alpm_handle_t *handle, const char *url) int ret; CHECK_HANDLE(handle, return NULL); + ASSERT(url, RET_ERR(handle, ALPM_ERR_WRONG_ARGS, NULL)); /* find a valid cache dir to download to */ cachedir = _alpm_filecache_setup(handle); |