source: npl/overig/libvmime/vmime-ignore-newlines.diff @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 568 bytes
  • libvmime-0.9.2

    old new ref <word> word::parseNext(const string& 
    7373        //   - before the first word
    7474        //   - between two encoded words
    7575        //   - after the last word
     76        // Always ignore newlines
    7677        string whiteSpaces;
    7778
    7879        while (pos < end && parserHelpers::isSpace(buffer[pos]))
    7980        {
    80                 whiteSpaces += buffer[pos];
     81                if(buffer[pos] != '\r' && buffer[pos] != '\n') // do not include newlines
     82                        whiteSpaces += buffer[pos];
    8183                ++pos;
    8284        }
    8385
Note: See TracBrowser for help on using the repository browser.