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 /python/rpmfd-py.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 'python/rpmfd-py.c')
-rw-r--r-- | python/rpmfd-py.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c index 7ba66b9f9..a69cba27d 100644 --- a/python/rpmfd-py.c +++ b/python/rpmfd-py.c @@ -73,10 +73,10 @@ static int closeCallback(FILE * f) else fdhead = node->next; node->note = _free (node->note); - node->fd = fdLink(node->fd, "closeCallback"); + node->fd = fdLink(node->fd, RPMDBG_M("closeCallback")); (void) Fclose (node->fd); while (node->fd) - node->fd = fdFree(node->fd, "closeCallback"); + node->fd = fdFree(node->fd, RPMDBG_M("closeCallback")); node = _free (node); } return 0; @@ -98,7 +98,7 @@ rpmfd_Fopen(PyObject * s, PyObject * args, PyObject * kwds) node = xmalloc (sizeof(FDlist)); node->fd = Fopen(path, mode); - node->fd = fdLink(node->fd, "doFopen"); + node->fd = fdLink(node->fd, RPMDBG_M("doFopen")); node->note = xstrdup (path); if (!node->fd) { |