summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-01-02 00:10:45 +0000
committerjbj <devnull@localhost>2001-01-02 00:10:45 +0000
commit836b60f018634944eb61315bad54d644960e71a6 (patch)
treef4a7fe51de2d56742e1250beb592d83f5356da95 /rpmqv.c
parentfa3e119a8350665f9c8d98929e4ceed041c4c3f3 (diff)
downloadlibrpm-tizen-836b60f018634944eb61315bad54d644960e71a6.tar.gz
librpm-tizen-836b60f018634944eb61315bad54d644960e71a6.tar.bz2
librpm-tizen-836b60f018634944eb61315bad54d644960e71a6.zip
fix: qva->qva_sourceCnt check now 2 rather than 1 with nested tables.
CVS patchset: 4398 CVS date: 2001/01/02 00:10:45
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/rpmqv.c b/rpmqv.c
index cc14e16a6..88e971910 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -343,11 +343,6 @@ static struct poptOption optionsTable[] = {
#endif
#ifdef IAM_RPMQV
-#if 0
- { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0,
- N_("Query/Verify options:"),
- NULL },
-#endif
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQueryPoptTable, 0,
N_("Query options (with -q or --query):"),
NULL },
@@ -1058,7 +1053,7 @@ int main(int argc, const char ** argv)
}
if (qva->qva_sourceCount) {
- if (qva->qva_sourceCount > 1)
+ if (qva->qva_sourceCount > 2)
argerror(_("one type of query/verify may be performed at a "
"time"));
}