mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Keep track of exactly how many bytes we've sent to md5_process_bytes().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13391 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6a8404df1d
commit
dd8ce0e090
@ -257,8 +257,8 @@ init_from_dir(const char *dirname, unsigned int max_files)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user