Browse code

Commit fix from upstream

git-svn: trunk@2589

Nigel Horne authored on 2007/01/05 23:46:16
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Jan  5 14:45:29 GMT 2007 (njh)
2
+----------------------------------
3
+  * libclamav/pst.c:	Commit fix from upstream detecting Outlook tasks
4
+
1 5
 Wed Jan  3 13:35:06 CET 2007 (tk)
2 6
 ---------------------------------
3 7
   * libclamav/htmlnorm.c: fix possible reference to NULL pointer in
... ...
@@ -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.42 2006/12/16 16:57:01 njh Exp $";
39
+static	char	const	rcsid[] = "$Id: pst.c,v 1.43 2007/01/05 14:45:08 njh Exp $";
40 40
 
41 41
 #if HAVE_CONFIG_H
42 42
 #include "clamav-config.h"	/* must come first */
... ...
@@ -2166,6 +2166,8 @@ int32_t _pst_process(pst_num_array *list , pst_item *item) {
2166 2166
 	  item->type = PST_TYPE_JOURNAL;
2167 2167
 	else if (strncasecmp("IPM.Appointment", item->ascii_type, 15) == 0)
2168 2168
 	  item->type = PST_TYPE_APPOINTMENT;
2169
+	else if(strncasecmp("IPM.Task", item->ascii_type, 8) == 0)
2170
+	  item->type = PST_TYPE_TASK;
2169 2171
 	else
2170 2172
 	  item->type = PST_TYPE_OTHER;
2171 2173