index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2009-06-06 11:03:29 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-06-08 20:02:17 -0500 |
commit | aa579b843899ccba093f83faa942599ce1110c24 (patch) | |
tree | fceb0e56adfb20ed3b7ebdb41fedb92bfe60d75a /lib/libalpm/db.c | |
parent | 19b8b638851713da64dd2aa7ff31e911ffe925cd (diff) |
-rw-r--r-- | lib/libalpm/db.c | 1 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 561967ce..6749ab1e 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -232,6 +232,7 @@ const char SYMEXPORT *alpm_db_get_url(const pmdb_t *db) /* Sanity checks */ ASSERT(handle != NULL, return(NULL)); ASSERT(db != NULL, return(NULL)); + ASSERT(db->servers != NULL, return(NULL)); url = (char*)db->servers->data; |