Commit 0c41fb86 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #692 in ZP/z-push from...

Merge pull request #692 in ZP/z-push from bugfix/ZP-250-meta-ticket-for-documentation-typo-and-similar-fixes to develop

* commit '1784c315':
  ZP-250 Improve log messages in readPropStream.
parents d59d116a 1784c315
...@@ -393,11 +393,11 @@ class MAPIUtils { ...@@ -393,11 +393,11 @@ class MAPIUtils {
$stream = mapi_openproperty($message, $prop, IID_IStream, 0, 0); $stream = mapi_openproperty($message, $prop, IID_IStream, 0, 0);
$ret = mapi_last_hresult(); $ret = mapi_last_hresult();
if ($ret == MAPI_E_NOT_FOUND) { if ($ret == MAPI_E_NOT_FOUND) {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("MAPIUtils->readPropStream: property 0x%s not found. It is either empty or not set. It will be ignored.", str_pad(dechex($prop), 8, 0, STR_PAD_LEFT))); ZLog::Write(LOGLEVEL_DEBUG, sprintf("MAPIUtils->readPropStream: property 0x%08X not found. It is either empty or not set. It will be ignored.", $prop));
return ""; return "";
} }
elseif ($ret) { elseif ($ret) {
ZLog::Write(LOGLEVEL_ERROR, "MAPIUtils->readPropStream error opening stream: 0X%X", $ret); ZLog::Write(LOGLEVEL_ERROR, "MAPIUtils->readPropStream error opening stream: 0x%08X", $ret);
return ""; return "";
} }
$data = ""; $data = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment