/[spamass-milt]/spamass-milt/spamass-milter.cpp
ViewVC logotype

Diff of /spamass-milt/spamass-milter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.84 by dnelson, Tue Sep 21 21:04:51 2004 UTC revision 1.85 by dnelson, Fri Sep 24 04:42:16 2004 UTC
# Line 672  retrieve_field(const string& header, con Line 672  retrieve_field(const string& header, con
672          }          }
673    }    }
674    
675      /* if the header line ends in \r\n, don't return the \r */
676      if (header[field_end-1] == '\r')
677            field_end--;
678    
679    //  Maybe remove the whitespace picked up when a header wraps - this    //  Maybe remove the whitespace picked up when a header wraps - this
680    //  might actually be a requirement    //  might actually be a requirement
681    return header.substr( field_start, field_end - field_start );    return header.substr( field_start, field_end - field_start );

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26