Removing some trail characters at event description

* They are sometimes present after a \r\n\n
pull/49/head
Miguel Julián 2014-06-12 15:46:02 +02:00 committed by Julio García
parent 1846e1ee5d
commit 65ece61273
1 changed files with 14 additions and 0 deletions

View File

@ -1214,6 +1214,20 @@ static NSCharacterSet *hexCharacterSet = nil;
return MAPISTORE_SUCCESS;
}
/*
private static function parseDescriptionOc2Rc($description)
{
$description = ltrim($description, ')');
if (strpos($description, "\r\n\n") !== false) {
$exploded = explode("\r\n\n", $description, -1);
$description = join($exploded, "\n");
}
return $description;
}
*/
- (int) getPidTagBody: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{