summaryrefslogtreecommitdiff
path: root/lib/libalpm/md5driver.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/md5driver.c
parent195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff)
downloadpacman-da648bc24cebcf3fff9073693871183fd95d4c92.tar.xz
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/md5driver.c')
-rw-r--r--lib/libalpm/md5driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/md5driver.c b/lib/libalpm/md5driver.c
index 2cd950ef..2effa5f7 100644
--- a/lib/libalpm/md5driver.c
+++ b/lib/libalpm/md5driver.c
@@ -23,6 +23,8 @@ documentation and/or software.
#include <stdio.h>
#include <string.h>
#include <libintl.h>
+#include "alpm.h"
+#include "log.h"
#include "util.h"
#include "md5.h"
@@ -43,6 +45,8 @@ char* _alpm_MDFile(char *filename)
int len;
unsigned char buffer[1024], digest[16];
+ ALPM_LOG_FUNC;
+
if((file = fopen(filename, "rb")) == NULL) {
printf (_("%s can't be opened\n"), filename);
} else {