index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Barbu Paul - Gheorghe <barbu.paul.gheorghe@gmail.com> | 2012-07-31 21:51:31 +0300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-07 20:56:57 -0500 |
commit | c52bb7030c2f04a2e36657042ba54d5c94de1bbf (patch) | |
tree | 09143314f4d03647dc7ac93109080f8df54838ee /lib/libalpm/db.c | |
parent | 527ae7092d98ff11c10ec92831e1297e33e946cf (diff) |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 953f2af6..1f252abb 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -136,7 +136,7 @@ alpm_list_t SYMEXPORT *alpm_db_get_servers(const alpm_db_t *db) int SYMEXPORT alpm_db_set_servers(alpm_db_t *db, alpm_list_t *servers) { ASSERT(db != NULL, return -1); - if(db->servers) FREELIST(db->servers); + FREELIST(db->servers); db->servers = servers; return 0; } |