Switch to unified view

a/src/bincimapmime/mime-parseonlyheader.cc b/src/bincimapmime/mime-parseonlyheader.cc
...
...
70
  multipart = false;
70
  multipart = false;
71
71
72
  nlines = 0;
72
  nlines = 0;
73
  nbodylines = 0;
73
  nbodylines = 0;
74
74
75
  MimePart::parseOnlyHeader("");
75
  doParseOnlyHeader("");
76
}
76
}
77
77
78
void Binc::MimeDocument::parseOnlyHeader(istream& s) const
78
void Binc::MimeDocument::parseOnlyHeader(istream& s) const
79
{
79
{
80
  if (allIsParsed || headerIsParsed)
80
  if (allIsParsed || headerIsParsed)
...
...
93
  multipart = false;
93
  multipart = false;
94
94
95
  nlines = 0;
95
  nlines = 0;
96
  nbodylines = 0;
96
  nbodylines = 0;
97
97
98
  MimePart::parseOnlyHeader("");
98
  doParseOnlyHeader("");
99
}
99
}
100
100
101
//------------------------------------------------------------------------
101
//------------------------------------------------------------------------
102
int Binc::MimePart::parseOnlyHeader(const string &toboundary) const
102
int Binc::MimePart::doParseOnlyHeader(const string &toboundary) const
103
{
103
{
104
  string name;
104
  string name;
105
  string content;
105
  string content;
106
  char cqueue[4];
106
  char cqueue[4];
107
  memset(cqueue, 0, sizeof(cqueue));
107
  memset(cqueue, 0, sizeof(cqueue));