projects
/
gnucomo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e796a4
)
Skip the Email header when reading XML input.
author
arjen
<arjen>
Sun, 6 May 2007 08:39:06 +0000
(08:39 +0000)
committer
arjen
<arjen>
Sun, 6 May 2007 08:39:06 +0000
(08:39 +0000)
src/gcm_input/message_filter.cpp
patch
|
blob
|
history
diff --git
a/src/gcm_input/message_filter.cpp
b/src/gcm_input/message_filter.cpp
index
02a5978
..
774bd71
100644
(file)
--- a/
src/gcm_input/message_filter.cpp
+++ b/
src/gcm_input/message_filter.cpp
@@
-8,7
+8,7
@@
***********************
** FILE NAME : message_filter.cpp
** SYSTEM NAME :
***********************
** FILE NAME : message_filter.cpp
** SYSTEM NAME :
-** VERSION NUMBER : $Revision: 1.
1
$
+** VERSION NUMBER : $Revision: 1.
2
$
**
** DESCRIPTION :
**
**
** DESCRIPTION :
**
@@
-20,13
+20,16
@@
********************************
** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
** CREATION DATE : Nov 26, 2003
********************************
** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
** CREATION DATE : Nov 26, 2003
-** LAST UPDATE :
Nov 26, 2003
+** LAST UPDATE :
May 02, 2007
** MODIFICATIONS :
**************************************************************************/
/*****************************
$Log: message_filter.cpp,v $
** MODIFICATIONS :
**************************************************************************/
/*****************************
$Log: message_filter.cpp,v $
- Revision 1.1 2003-12-04 10:38:09 arjen
+ Revision 1.2 2007-05-06 08:39:06 arjen
+ Skip the Email header when reading XML input.
+
+ Revision 1.1 2003/12/04 10:38:09 arjen
Major redesign. All input is handled through XML. Raw input data is first
transformed into an XML document for further processing.
A collection of polymorphic classes handle the transformation of various
Major redesign. All input is handled through XML. Raw input data is first
transformed into an XML document for further processing.
A collection of polymorphic classes handle the transformation of various
@@
-35,7
+38,7
@@
*****************************/
*****************************/
-/* static const char *RCSID = "$Id: message_filter.cpp,v 1.
1 2003-12-04 10:38:09
arjen Exp $"; */
+/* static const char *RCSID = "$Id: message_filter.cpp,v 1.
2 2007-05-06 08:39:06
arjen Exp $"; */
#include "message_filter.h"
#include "message_filter.h"
@@
-55,7
+58,7
@@
extern std::ostream *Log;
** VARS CHANGED :
** FUNCTIONS USED :
** SEE ALSO :
** VARS CHANGED :
** FUNCTIONS USED :
** SEE ALSO :
-** LAST MODIFIED :
Nov 26, 2003
+** LAST MODIFIED :
May 02, 2007
**=========================================================================
*/
**=========================================================================
*/
@@
-63,6
+66,8
@@
void message_filter::construct_XML(message_buffer &in, std::strstream &xml)
{
String line;
{
String line;
+ scan_email_header(in);
+
while (in >> line)
{
xml << line << "\n";
while (in >> line)
{
xml << line << "\n";