Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-30 08:14:10 +0000
committerAaron Griffin <aaron@archlinux.org>2007-01-30 08:14:10 +0000
commitda648bc24cebcf3fff9073693871183fd95d4c92 (patch)
tree3fbea3f6f396b981f7d4bd3958d0147025d4a191 /lib/libalpm/handle.c
parent195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff)
K. Piche <kevin.piche@cgi.com>
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index a8563a17..140fe328 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -85,6 +85,8 @@ pmhandle_t *_alpm_handle_new()
int _alpm_handle_free(pmhandle_t *handle)
{
+ ALPM_LOG_FUNC;
+
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
/* close logfiles */
@@ -166,6 +168,8 @@ void alpm_option_set_cachedir(const char *cachedir)
void alpm_option_set_logfile(const char *logfile)
{
+ ALPM_LOG_FUNC;
+
if(handle->logfile) {
FREE(handle->logfile);
if(handle->logfd) {