From 2159f129703b200cf7aa81537a19d9148571b134 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 21 Jan 2003 00:59:36 +0000 Subject: [PATCH] fix: check arch for null before appending. CVS patchset: 6019 CVS date: 2003/01/21 00:59:36 --- lib/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.c b/lib/query.c index 95daa7f..0297722 100644 --- a/lib/query.c +++ b/lib/query.c @@ -147,7 +147,7 @@ int showQueryPackage(QVA_t qva, rpmts ts, Header h) te = stpcpy(te, n); te = stpcpy( stpcpy(te, "-"), v); te = stpcpy( stpcpy(te, "-"), r); - if (tscolor) + if (tscolor && a != NULL) te = stpcpy( stpcpy(te, "."), a); /*@=boundswrite@*/ goto exit; -- 2.7.4