Handle appointment all day flag

git-svn: trunk@2526
remotes/push_mirror/metadata
Nigel Horne 19 years ago
parent 2ed3a9a3b3
commit 2834b3481b
  1. 7
      clamav-devel/ChangeLog
  2. 13
      clamav-devel/libclamav/pst.c

@ -1,3 +1,8 @@
Wed Nov 29 16:04:18 GMT 2006 (njh)
----------------------------------
* libclamav/pst.c: Handle "all day appointment flag" patch posted to
the libpst mailing list
Tue Nov 28 14:31:58 GMT 2006 (njh)
----------------------------------
* clamav-milter: Added dont-blacklist=IP option
@ -323,7 +328,7 @@ Wed Oct 25 12:40:10 CEST 2006 (acab)
Wed Oct 25 04:30:36 CEST 2006 (acab)
------------------------------------
* libclamav: add support for NsPack (--enable-experimental)
Mon Oct 23 17:48:39 CEST 2006 (tk)
----------------------------------
* libclamav: improve support for NodalCore SDK 3.3

@ -36,7 +36,7 @@
* TODO: Remove the vcard handling
* FIXME: The code does little error checking of OOM scenarios
*/
static char const rcsid[] = "$Id: pst.c,v 1.34 2006/10/28 10:25:23 njh Exp $";
static char const rcsid[] = "$Id: pst.c,v 1.35 2006/11/29 16:03:57 njh Exp $";
#if HAVE_CONFIG_H
#include "clamav-config.h" /* must come first */
@ -3585,6 +3585,17 @@ int32_t _pst_process(pst_num_array *list , pst_item *item) {
cli_dbgmsg("Phone Call\n"); break;
}
break;
case 0x0821: // All day appointment flag
cli_dbgmsg("All day flag - "));
MALLOC_APPOINTMENT(item);
if(*(int16_t *)list->items[x]->data != 0) {
cli_dbgmsg("True\n");
item->appointement->all_day = 1;
} else {
cli_dbgmsg("False\n");
item->appointement->all_day = 0;
}
break;
case 0x8234: // TimeZone as String
cli_dbgmsg("TimeZone of times - ");
MALLOC_APPOINTMENT(item);

Loading…
Cancel
Save