From 975f555f220770d167216d40977b2c18df407302 Mon Sep 17 00:00:00 2001 From: bmagistro Date: Thu, 9 Mar 2017 14:20:43 -0500 Subject: [PATCH] attempt 2, fix whitespace differences --- src/vmime/parsingContext.cpp | 4 ++-- src/vmime/parsingContext.hpp | 40 ++++++++++++++++++------------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/vmime/parsingContext.cpp b/src/vmime/parsingContext.cpp index 71454926..954c5651 100644 --- a/src/vmime/parsingContext.cpp +++ b/src/vmime/parsingContext.cpp @@ -47,13 +47,13 @@ parsingContext& parsingContext::getDefaultContext() headerParseRecoveryMethod::headerLineError parsingContext::getHeaderParseErrorRecoveryMethod() const { - return m_headerParseErrorRecovery; + return m_headerParseErrorRecovery; } void parsingContext::setHeaderParseErrorRecoveryMethod(headerParseRecoveryMethod::headerLineError recoveryMethod) { - m_headerParseErrorRecovery = recoveryMethod; + m_headrParseErrorRecovery = recoveryMethod; } diff --git a/src/vmime/parsingContext.hpp b/src/vmime/parsingContext.hpp index f00bccb6..1b1cd282 100644 --- a/src/vmime/parsingContext.hpp +++ b/src/vmime/parsingContext.hpp @@ -31,15 +31,15 @@ namespace vmime { - /** Provides runtime configurable options to provide flexibility in header parsing - */ - struct headerParseRecoveryMethod { - enum headerLineError { - SKIP_LINE = 0, - /* APPEND_TO_PREVIOUS_LINE = 1, */ - ASSUME_END_OF_HEADERS = 2 - }; - }; + /** Provides runtime configurable options to provide flexibility in header parsing + */ + struct headerParseRecoveryMethod { + enum headerLineError { + SKIP_LINE = 0, + /* APPEND_TO_PREVIOUS_LINE = 1, */ + ASSUME_END_OF_HEADERS = 2 + }; + }; /** Holds configuration parameters used for parsing messages. */ @@ -57,22 +57,22 @@ public: */ static parsingContext& getDefaultContext(); - /** Sets the recovery method when parsing a header encounters an error such as a failed fold or missing new line. - * - * @param recoveryMethod is one of vmime::headerParseRecoveryMethod. Defaults to vmime::headerParseRecoveryMethod::SKIP_LINE. - */ - void setHeaderParseErrorRecoveryMethod(headerParseRecoveryMethod::headerLineError recoveryMethod); + /** Sets the recovery method when parsing a header encounters an error such as a failed fold or missing new line. + * + * @param recoveryMethod is one of vmime::headerParseRecoveryMethod. Defaults to vmime::headerParseRecoveryMethod::SKIP_LINE. + */ + void setHeaderParseErrorRecoveryMethod(headerParseRecoveryMethod::headerLineError recoveryMethod); - /** Return the recovery method when parsing a header encounters an error. - * - * @return is an enum from vmime::headerParseRecoveryMethod - */ - headerParseRecoveryMethod::headerLineError getHeaderParseErrorRecoveryMethod() const; + /** Return the recovery method when parsing a header encounters an error. + * + * @return is an enum from vmime::headerParseRecoveryMethod + */ + headerParseRecoveryMethod::headerLineError getHeaderParseErrorRecoveryMethod() const; protected: - headerParseRecoveryMethod::headerLineError m_headerParseErrorRecovery; + headerParseRecoveryMethod::headerLineError m_headerParseErrorRecovery; };