From aeaa2ed70043e607e1da431d8f33726590f4c83b Mon Sep 17 00:00:00 2001 From: NotZed Date: Mon, 14 Feb 2000 05:39:02 +0000 Subject: New file, implements the search api for mbox folders. 2000-02-13 NotZed * providers/mbox/camel-mbox-search.c: New file, implements the search api for mbox folders. * providers/mbox/Makefile.am: Link with ibex. * camel-folder.c (camel_folder_has_search_capability): Api additions. (camel_folder_search_by_expression): Ditto. 2000-02-12 NotZed * providers/mbox/camel-mbox-folder.c (_set_name): Setup index filename as well. (_init_with_store): Init index filename. Hmm, none of these names ever seem to get free'd (FIXME?) * providers/mbox/camel-mbox-folder.h: Add index file name. 2000-02-12 NotZed * camel-folder.h: Add folder search functions. ** Created ChangeLog just for camel ** - refer to ../ChangeLog for changes prior to this date. svn path=/trunk/; revision=1772 --- camel/md5-utils.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'camel/md5-utils.c') diff --git a/camel/md5-utils.c b/camel/md5-utils.c index 1300c00f9f..2ebb1533f4 100644 --- a/camel/md5-utils.c +++ b/camel/md5-utils.c @@ -364,6 +364,8 @@ md5_get_digest_from_file (const gchar *filename, guchar digest[16]) gint nb_bytes_read; FILE *fp; + printf("generating checksum\n"); + md5_init (&ctx); fp = fopen(filename, "r"); if (!fp) { @@ -377,9 +379,11 @@ md5_get_digest_from_file (const gchar *filename, guchar digest[16]) fclose(fp); return; } + md5_final (digest, &ctx); + printf("checksum done\n"); } -- cgit