index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Hesse <mail@eworm.de> | 2014-10-16 15:36:55 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-10-19 20:48:40 +1000 |
commit | d649dc669db2201b274919223ed0aa6b7c37d70d (patch) | |
tree | 3b2e729db64ab7cac2632ae7cdb3d736750a6356 /lib/libalpm/be_sync.c | |
parent | 91876c21f16ec14b8b7362a98b72588aeb893ea3 (diff) |
-rw-r--r-- | lib/libalpm/be_sync.c | 3 |
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 6572a8ad..62fd0f04 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -209,8 +209,7 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db) } for(i = db->servers; i; i = i->next) { - char *final_db_url = NULL; - const char *server = i->data; + const char *server = i->data, *final_db_url = NULL; struct dload_payload payload; size_t len; int sig_ret = 0; |