summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-04-07 16:24:43 +0000
committerjbj <devnull@localhost>2000-04-07 16:24:43 +0000
commit48a4968d366ef9114822ee26fec08c9cf934b1ed (patch)
tree1a8ec1422e0e4d6a6bbbb0913236f0e05848f83f
parenteb75d9280bdf6ce203c6ba12615e8a6f821a0d42 (diff)
downloadlibrpm-tizen-48a4968d366ef9114822ee26fec08c9cf934b1ed.tar.gz
librpm-tizen-48a4968d366ef9114822ee26fec08c9cf934b1ed.tar.bz2
librpm-tizen-48a4968d366ef9114822ee26fec08c9cf934b1ed.zip
fix: rpmdbCountPackages should pass by reference, not value.
CVS patchset: 3663 CVS date: 2000/04/07 16:24:43
-rw-r--r--lib/rpmdb.c2
-rw-r--r--po/rpm.pot2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index ad06c2178..0386ebee7 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 3007e3e0f..d99d02009 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"