Use default decoders

git-svn: trunk@877
remotes/push_mirror/metadata
Nigel Horne 21 years ago
parent 8b3563f22b
commit dc52d09f50
  1. 5
      clamav-devel/ChangeLog
  2. 9
      clamav-devel/libclamav/message.c
  3. 2
      clamav-devel/libclamav/strrcpy.c
  4. 4
      clamav-devel/libclamav/strrcpy.h

@ -1,3 +1,8 @@
Thu Sep 16 11:07:37 BST 2004 (njh)
----------------------------------
* libclamav/mbox:c If a false or invented encoding type is stated attempt
to decode with all known decoders
Thu Sep 16 09:58:01 BST 2004 (njh)
----------------------------------
* libclamav/mbox.c: Handle comments in the headers

@ -17,6 +17,9 @@
*
* Change History:
* $Log: message.c,v $
* Revision 1.79 2004/09/16 10:05:59 nigelhorne
* Use default decoders
*
* Revision 1.78 2004/09/15 18:08:23 nigelhorne
* Handle multiple encoding types
*
@ -231,7 +234,7 @@
* uuencodebegin() no longer static
*
*/
static char const rcsid[] = "$Id: message.c,v 1.78 2004/09/15 18:08:23 nigelhorne Exp $";
static char const rcsid[] = "$Id: message.c,v 1.79 2004/09/16 10:05:59 nigelhorne Exp $";
#if HAVE_CONFIG_H
#include "clamav-config.h"
@ -859,8 +862,8 @@ messageSetEncoding(message *m, const char *enctype)
* Err on the side of safety, enable all decoding
* modules
*/
/*messageSetEncoding(m, "base64");
messageSetEncoding(m, "quoted-printable");*/
messageSetEncoding(m, "base64");
messageSetEncoding(m, "quoted-printable");
break;
}

@ -19,6 +19,8 @@
#include <stdio.h>
#include <assert.h>
#include "strrcpy.h"
/*
* Like strcpy, but return the END of the destination, allowing a quicker
* means of adding to the end of a string than strcat

@ -20,5 +20,7 @@
#ifndef __STRRCPY_H
#define __STRRCPY_H
char *strrcpy(char *dest, const char *source);
char *strrcpy(char *dest, const char *source);
#endif

Loading…
Cancel
Save