From 2446b6f9fe4bb7de2771d5c0097702faca8aa8c2 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 7 Dec 2011 16:14:03 +0000 Subject: [PATCH] Monotone-Parent: 2e3d14f0015946767d3494c454c4d2e977e1da15 Monotone-Revision: f584567c8afbbff241518e2921242b309817109e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-07T16:14:03 Monotone-Branch: ca.inverse.sogo --- OpenChange/MAPIStoreObject.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenChange/MAPIStoreObject.m b/OpenChange/MAPIStoreObject.m index 045f2c742..d836eb2a2 100644 --- a/OpenChange/MAPIStoreObject.m +++ b/OpenChange/MAPIStoreObject.m @@ -452,6 +452,10 @@ static Class NSExceptionK, MAPIStoreFolderK; for (counter = 0; counter < aRow->cValues; counter++) { cValue = aRow->lpProps + counter; + if ((cValue->ulPropTag & PT_STRING8) == PT_STRING8) + [self warnWithFormat: + @"attempting to set string property as PR_STRING8: %.8x", + cValue->ulPropTag]; [newProperties setObject: NSObjectFromSPropValue (cValue) forKey: MAPIPropertyKey (cValue->ulPropTag)]; }