summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-22 22:49:45 -0600
committerDan McGee <dan@archlinux.org>2008-02-24 20:21:58 -0600
commitf159203f6fb217bb7bed5ffea8c2518325a9ec12 (patch)
tree02d718e999844043618ac6659b6a3152c255c104 /lib/libalpm/sync.c
parent81a2a06818d367f8528c74311171417beb9e1592 (diff)
downloadpacman-f159203f6fb217bb7bed5ffea8c2518325a9ec12.tar.xz
Remove pmserver_t abstraction
Remove what was a pretty weird abstraction in the libalpm backend. Instead of parsing server URLs as we get them (of which we don't usually use more than a handful anyway), wait until they are actually used, which allows us to store them as a simple string list instead. This allows us to remove a lot of code, and will greatly simplify the continuing refactoring of the download code. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 707bc8e3..f6097420 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -44,7 +44,6 @@
#include "util.h"
#include "handle.h"
#include "alpm.h"
-#include "server.h"
#include "dload.h"
#include "delta.h"