Browse code

Acknowledge Joseph Nahmias as libpst maintainer

git-svn: trunk@1976

Nigel Horne authored on 2006/05/15 19:14:54
Showing 1 changed files
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2
- * Based on libpst version 0.5.1, written by Dave Smith, dave.s at earthcorp.com
2
+ * Based on libpst version 0.5.1, written by Dave Smith dave.s at earthcorp.com
3 3
  *	http://alioth.debian.org/projects/libpst/
4
+ * Now maintained by Joseph Nahmias <joe at nahmias.net>
5
+ *
4 6
  * For copyright information on that code, refer to libpst
5 7
  *
6 8
  * Portions Copyright (C) 2006 Nigel Horne <njh@bandsman.co.uk>
... ...
@@ -32,8 +34,9 @@
32 32
  *	save the attachments directly rather than encode to base64, then have
33 33
  *	cli_mbox decode it
34 34
  * TODO: Remove the vcard handling
35
+ * FIXME: The code does little error checking of OOM scenarios
35 36
  */
36
-static	char	const	rcsid[] = "$Id: pst.c,v 1.26 2006/05/12 17:11:28 nigelhorne Exp $";
37
+static	char	const	rcsid[] = "$Id: pst.c,v 1.27 2006/05/15 10:14:54 njh Exp $";
37 38
 
38 39
 #if HAVE_CONFIG_H
39 40
 #include "clamav-config.h"	/* must come first */
... ...
@@ -5073,7 +5076,7 @@ pst_decode(const char *dir, int desc)
5073 5073
 	    if (x == 99999999) {
5074 5074
 	      cli_errmsg("pst_decode: Why can I not create a folder %s? I have tried %i extensions...\n", f->name, x);
5075 5075
 	      if(rfc2426ptr)
5076
-	      	free(rfc2426ptr);
5076
+		free(rfc2426ptr);
5077 5077
 	      return(5);
5078 5078
 	    }
5079 5079
 	    fclose(f->output);
... ...
@@ -5092,7 +5095,7 @@ pst_decode(const char *dir, int desc)
5092 5092
 	    cli_errmsg("pst_decode: Could not open file \"%s\" for write\n", f->name);
5093 5093
 	    free(filename);
5094 5094
 	      if(rfc2426ptr)
5095
-	      	free(rfc2426ptr);
5095
+		free(rfc2426ptr);
5096 5096
 	    return CL_ETMPFILE;
5097 5097
 	  }
5098 5098
 	    free(filename);