[Gnucash-changes] r13391 - gnucash/trunk/lib/libqof/qof - Keep
track of exactly how many bytes we've sent to md5_process_bytes().
Chris Shoemaker
chris at cvs.gnucash.org
Sun Feb 26 00:00:53 EST 2006
Author: chris
Date: 2006-02-26 00:00:52 -0500 (Sun, 26 Feb 2006)
New Revision: 13391
Trac: http://svn.gnucash.org/trac/changeset/13391
Modified:
gnucash/trunk/lib/libqof/qof/guid.c
Log:
Keep track of exactly how many bytes we've sent to md5_process_bytes().
Modified: gnucash/trunk/lib/libqof/qof/guid.c
===================================================================
--- gnucash/trunk/lib/libqof/qof/guid.c 2006-02-26 04:56:47 UTC (rev 13390)
+++ gnucash/trunk/lib/libqof/qof/guid.c 2006-02-26 05:00:52 UTC (rev 13391)
@@ -257,8 +257,8 @@
if (de == NULL)
break;
- md5_process_bytes(de, strlen(de->d_name), &guid_context);
- total += sizeof(struct dirent);
+ md5_process_bytes(de->d_name, strlen(de->d_name), &guid_context);
+ total += strlen(de->d_name);
result = snprintf(filename, sizeof(filename),
"%s/%s", dirname, de->d_name);
More information about the gnucash-changes
mailing list