Add a new bounce delimeter

git-svn: trunk@279
remotes/push_mirror/metadata
Nigel Horne 22 years ago
parent d8f615d775
commit a3d72ff407
  1. 4
      clamav-devel/ChangeLog
  2. 25
      clamav-devel/libclamav/message.c

@ -1,3 +1,7 @@
Fri Feb 13 14:28:05 GMT 2004 (njh
----------------------------------
* libclamav: Added a new bounce delimeter
Thu Feb 12 18:47:44 GMT 2004 (njh)
----------------------------------
* libclamav: Use mkstemp() on Solaris in cl_mbox()

@ -17,6 +17,9 @@
*
* Change History:
* $Log: message.c,v $
* Revision 1.30 2004/02/13 14:23:56 nigelhorne
* Add a new bounce delimeter
*
* Revision 1.29 2004/02/10 17:01:30 nigelhorne
* Recognise a new type of bounce message
*
@ -84,7 +87,7 @@
* uuencodebegin() no longer static
*
*/
static char const rcsid[] = "$Id: message.c,v 1.29 2004/02/10 17:01:30 nigelhorne Exp $";
static char const rcsid[] = "$Id: message.c,v 1.30 2004/02/13 14:23:56 nigelhorne Exp $";
#if HAVE_CONFIG_H
#include "clamav-config.h"
@ -171,6 +174,18 @@ static struct mime_map {
{ NULL, 0 }
};
static const char *bounces[] = {
"--- Below this line is a copy of the message.",
"------ This is a copy of the message, including all the headers. ------",
"=================================================================================",
"------- The original message sent:",
" ----- Original message follows -----",
"------- Original mail message ----",
"------ A continuacion adjuntamos copia del mensaje, incluyendo las cabeceras. ------",
",------- Returned Message --------",
NULL
};
message *
messageCreate(void)
{
@ -1105,14 +1120,6 @@ bounceBegin(const message *m)
{
const text *t_line;
static table_t *bounceMessages;
const char *bounces[] = {
"--- Below this line is a copy of the message.",
"------ This is a copy of the message, including all the headers. ------",
"=================================================================================",
"------- The original message sent:",
" ----- Original message follows -----",
NULL
};
if(bounceMessages == NULL) {
const char **bounce;

Loading…
Cancel
Save