diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-04 11:25:46 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-04 11:25:46 +0200 |
commit | dbdbe8010cd944f026a5a4e5d071eb31d29d81c4 (patch) | |
tree | b7b0f4014409f8514a1729b48a8776660747d149 /lib/rpmte.c | |
parent | 422fa0dbeab879d3510c879554c33e359e0ab7ab (diff) | |
download | rpm-dbdbe8010cd944f026a5a4e5d071eb31d29d81c4.tar.gz rpm-dbdbe8010cd944f026a5a4e5d071eb31d29d81c4.tar.bz2 rpm-dbdbe8010cd944f026a5a4e5d071eb31d29d81c4.zip |
Eliminate debug junk from the API
- add some helper macros to accomplish the same, easy to enable / disable
as needed
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 4336b9726..c9dd66ea2 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -46,7 +46,7 @@ static void delTE(rpmte p) p->fi = rpmfiFree(p->fi); if (p->fd != NULL) - p->fd = fdFree(p->fd, "delTE"); + p->fd = fdFree(p->fd, RPMDBG_M("delTE")); p->os = _free(p->os); p->arch = _free(p->arch); @@ -594,7 +594,7 @@ rpmtsi XrpmtsiInit(rpmts ts, const char * fn, unsigned int ln) rpmtsi tsi = NULL; tsi = xcalloc(1, sizeof(*tsi)); - tsi->ts = rpmtsLink(ts, "rpmtsi"); + tsi->ts = rpmtsLink(ts, RPMDBG_M("rpmtsi")); tsi->reverse = ((rpmtsFlags(ts) & RPMTRANS_FLAG_REVERSE) ? 1 : 0); tsi->oc = (tsi->reverse ? (rpmtsNElements(ts) - 1) : 0); tsi->ocsave = tsi->oc; |