From 48a4968d366ef9114822ee26fec08c9cf934b1ed Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 7 Apr 2000 16:24:43 +0000 Subject: [PATCH] fix: rpmdbCountPackages should pass by reference, not value. CVS patchset: 3663 CVS date: 2000/04/07 16:24:43 --- lib/rpmdb.c | 2 +- po/rpm.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpmdb.c b/lib/rpmdb.c index ad06c21..0386ebe 100644 --- a/lib/rpmdb.c +++ b/lib/rpmdb.c @@ -546,7 +546,7 @@ int rpmdbCountPackages(rpmdb db, const char * name) dbiIndexSet matches = NULL; int rc; - rc = dbiSearchIndex(db->_dbi[RPMDBI_NAME], name, matches); + rc = dbiSearchIndex(db->_dbi[RPMDBI_NAME], name, &matches); switch (rc) { default: diff --git a/po/rpm.pot b/po/rpm.pot index 3007e3e..d99d020 100644 --- a/po/rpm.pot +++ b/po/rpm.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-04-07 11:56-0400\n" +"POT-Creation-Date: 2000-04-07 12:18-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.7.4