Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=bd404b74a115b910b6547f18f73c70cbb4f90c3c

commit bd404b74a115b910b6547f18f73c70cbb4f90c3c
Author: Michel Hermier <[email protected]>
Date:   Tue Oct 29 08:53:18 2013 +0100

libpacman: Fix typo in previous commit.

diff --git a/lib/libpacman/be_files.c b/lib/libpacman/be_files.c
index 8e6b014..a2bc484 100644
--- a/lib/libpacman/be_files.c
+++ b/lib/libpacman/be_files.c
@@ -477,11 +477,11 @@ static int _pacman_db_read_depends(pmdb_t *db, unsigned 
int inforeq, pmpkg_t *in
} else if(!strcmp(line, "%CONFLICTS%")) {
_pacman_db_read_lines(db, &info->conflicts, line, sline, fp);
} else if(!strcmp(line, "%PROVIDES%")) {
-                               _pacman_db_read_lines(db, info->provides, line, 
sline, fp);
+                               _pacman_db_read_lines(db, &info->provides, 
line, sline, fp);
} else if(!strcmp(line, "%REPLACES%")) {
/* the REPLACES tag is special -- it only appears in sync repositories,
* not the local one. */
-                               _pacman_db_read_lines(db, info->replaces, line, 
sline, fp);
+                               _pacman_db_read_lines(db, &info->replaces, 
line, sline, fp);
} else if(!strcmp(line, "%FORCE%")) {
/* FORCE tag only appears in sync repositories,
* not the local one. */
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to