index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2014-09-15 18:06:47 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-09-30 22:20:53 +1000 |
commit | 4e263f24c6ed1cc710b7873b9ea37534117247ea (patch) | |
tree | afdf105036af29f6830f2bcbe1b9f2308f85f2d8 /lib/libalpm/be_sync.c | |
parent | 13c9745302b11dcee7b1b894d95789a2caf11c9d (diff) |
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 4b67f429..b03d273a 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -533,7 +533,7 @@ static int _alpm_validate_filename(alpm_db_t *db, const char *pkgname, #define READ_AND_SPLITDEP(f) do { \ if(_alpm_archive_fgets(archive, &buf) != ARCHIVE_OK) goto error; \ if(_alpm_strip_newline(buf.line, buf.real_line_size) == 0) break; \ - f = alpm_list_add(f, _alpm_splitdep(line)); \ + f = alpm_list_add(f, alpm_dep_from_string(line)); \ } while(1) /* note the while(1) and not (0) */ static int sync_db_read(alpm_db_t *db, struct archive *archive, |