Mercurial > libpst
diff src/readpst.c @ 310:a6df6ffc3ff5
add sent_date to .msg output format
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 06 May 2010 13:17:52 -0700 |
parents | 97c53c6868ab |
children | 0f19cd173eab |
line wrap: on
line diff
--- a/src/readpst.c Mon Dec 14 22:19:50 2009 -0800 +++ b/src/readpst.c Thu May 06 13:17:52 2010 -0700 @@ -888,13 +888,12 @@ int mk_separate_file(struct file_ll *f, char *extension, int openit) { - const int name_offset = 1; DEBUG_ENT("mk_separate_file"); DEBUG_INFO(("opening next file to save email\n")); if (f->item_count > 999999999) { // bigger than nine 9's DIE(("mk_separate_file: The number of emails in this folder has become too high to handle\n")); } - sprintf(f->name, SEP_MAIL_FILE_TEMPLATE, f->item_count + name_offset, extension); + sprintf(f->name, SEP_MAIL_FILE_TEMPLATE, f->item_count, extension); if (f->output) fclose(f->output); f->output = NULL; check_filename(f->name);