git-svn: trunk@2526
Nigel Horne authored on 2006/11/30 01:05:18... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Wed Nov 29 16:04:18 GMT 2006 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/pst.c: Handle "all day appointment flag" patch posted to |
|
4 |
+ the libpst mailing list |
|
5 |
+ |
|
1 | 6 |
Tue Nov 28 14:31:58 GMT 2006 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* clamav-milter: Added dont-blacklist=IP option |
... | ... |
@@ -323,7 +328,7 @@ Wed Oct 25 12:40:10 CEST 2006 (acab) |
323 | 323 |
Wed Oct 25 04:30:36 CEST 2006 (acab) |
324 | 324 |
------------------------------------ |
325 | 325 |
* libclamav: add support for NsPack (--enable-experimental) |
326 |
- |
|
326 |
+ |
|
327 | 327 |
Mon Oct 23 17:48:39 CEST 2006 (tk) |
328 | 328 |
---------------------------------- |
329 | 329 |
* libclamav: improve support for NodalCore SDK 3.3 |
... | ... |
@@ -36,7 +36,7 @@ |
36 | 36 |
* TODO: Remove the vcard handling |
37 | 37 |
* FIXME: The code does little error checking of OOM scenarios |
38 | 38 |
*/ |
39 |
-static char const rcsid[] = "$Id: pst.c,v 1.34 2006/10/28 10:25:23 njh Exp $"; |
|
39 |
+static char const rcsid[] = "$Id: pst.c,v 1.35 2006/11/29 16:03:57 njh Exp $"; |
|
40 | 40 |
|
41 | 41 |
#if HAVE_CONFIG_H |
42 | 42 |
#include "clamav-config.h" /* must come first */ |
... | ... |
@@ -3585,6 +3585,17 @@ int32_t _pst_process(pst_num_array *list , pst_item *item) { |
3585 | 3585 |
cli_dbgmsg("Phone Call\n"); break; |
3586 | 3586 |
} |
3587 | 3587 |
break; |
3588 |
+ case 0x0821: // All day appointment flag |
|
3589 |
+ cli_dbgmsg("All day flag - ")); |
|
3590 |
+ MALLOC_APPOINTMENT(item); |
|
3591 |
+ if(*(int16_t *)list->items[x]->data != 0) { |
|
3592 |
+ cli_dbgmsg("True\n"); |
|
3593 |
+ item->appointement->all_day = 1; |
|
3594 |
+ } else { |
|
3595 |
+ cli_dbgmsg("False\n"); |
|
3596 |
+ item->appointement->all_day = 0; |
|
3597 |
+ } |
|
3598 |
+ break; |
|
3588 | 3599 |
case 0x8234: // TimeZone as String |
3589 | 3600 |
cli_dbgmsg("TimeZone of times - "); |
3590 | 3601 |
MALLOC_APPOINTMENT(item); |