Browse code

Add a new bounce delimeter

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@279 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/02/13 23:24:49
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Feb 13 14:28:05 GMT 2004 (njh
2
+----------------------------------
3
+  * libclamav: Added a new bounce delimeter
4
+
1 5
 Thu Feb 12 18:47:44 GMT 2004 (njh)
2 6
 ----------------------------------
3 7
   * libclamav: Use mkstemp() on Solaris in cl_mbox()
... ...
@@ -17,6 +17,9 @@
17 17
  *
18 18
  * Change History:
19 19
  * $Log: message.c,v $
20
+ * Revision 1.30  2004/02/13 14:23:56  nigelhorne
21
+ * Add a new bounce delimeter
22
+ *
20 23
  * Revision 1.29  2004/02/10 17:01:30  nigelhorne
21 24
  * Recognise a new type of bounce message
22 25
  *
... ...
@@ -84,7 +87,7 @@
84 84
  * uuencodebegin() no longer static
85 85
  *
86 86
  */
87
-static	char	const	rcsid[] = "$Id: message.c,v 1.29 2004/02/10 17:01:30 nigelhorne Exp $";
87
+static	char	const	rcsid[] = "$Id: message.c,v 1.30 2004/02/13 14:23:56 nigelhorne Exp $";
88 88
 
89 89
 #if HAVE_CONFIG_H
90 90
 #include "clamav-config.h"
... ...
@@ -171,6 +174,18 @@ static	struct	mime_map {
171 171
 	{	NULL,			0		}
172 172
 };
173 173
 
174
+static const char *bounces[] = {
175
+	"--- Below this line is a copy of the message.",
176
+	"------ This is a copy of the message, including all the headers. ------",
177
+	"=================================================================================",
178
+	"------- The original message sent:",
179
+	"   ----- Original message follows -----",
180
+	"------- Original mail message ----",
181
+	"------ A continuacion adjuntamos copia del mensaje, incluyendo las cabeceras. ------",
182
+	",------- Returned Message --------",
183
+	NULL
184
+};
185
+
174 186
 message *
175 187
 messageCreate(void)
176 188
 {
... ...
@@ -1105,14 +1120,6 @@ bounceBegin(const message *m)
1105 1105
 {
1106 1106
 	const text *t_line;
1107 1107
 	static table_t *bounceMessages;
1108
-	const char *bounces[] = {
1109
-		"--- Below this line is a copy of the message.",
1110
-		"------ This is a copy of the message, including all the headers. ------",
1111
-		"=================================================================================",
1112
-		"------- The original message sent:",
1113
-		"   ----- Original message follows -----",
1114
-		NULL
1115
-	};
1116 1108
 
1117 1109
 	if(bounceMessages == NULL) {
1118 1110
 		const char **bounce;