changeset 268:8dcfef53a4f3

adding more debug code
author Carl Byington <carl@five-ten-sg.com>
date Sun, 17 Apr 2011 17:22:29 -0700
parents 3fa737c05322
children 5ca87faa020b
files src/libpst.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libpst.c	Sun Apr 17 17:17:35 2011 -0700
+++ b/src/libpst.c	Sun Apr 17 17:22:29 2011 -0700
@@ -2467,7 +2467,7 @@
                 case 0x0E20: // PR_ATTACH_SIZE binary Attachment data in record
                     NULL_CHECK(attach);
                     LIST_COPY_INT32("Attachment Size", t);
-                    if (attach->data.data || attach->data.size) {
+                    if (attach->data.data && (attach->data.size != (size_t)t)) {
                         DEBUG_INFO(("already have data %#"PRIxPTR" size %#"PRIx64"\n", attach->data.data, attach->data.size));
                     }
                     else {