summaryrefslogtreecommitdiff
path: root/python/rpmfd-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-04 11:25:46 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-04 11:25:46 +0200
commitdbdbe8010cd944f026a5a4e5d071eb31d29d81c4 (patch)
treeb7b0f4014409f8514a1729b48a8776660747d149 /python/rpmfd-py.c
parent422fa0dbeab879d3510c879554c33e359e0ab7ab (diff)
downloadlibrpm-tizen-dbdbe8010cd944f026a5a4e5d071eb31d29d81c4.tar.gz
librpm-tizen-dbdbe8010cd944f026a5a4e5d071eb31d29d81c4.tar.bz2
librpm-tizen-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.c6
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) {