aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-17 18:15:22 +0000
committerVincent Richard <[email protected]>2005-03-17 18:15:22 +0000
commitf1e8e707776eec72e4395025a3e72f132d7c1700 (patch)
tree7c5b54d6baedb9ea1a44e96cc2338dc0ed04f5ac /src
parentAdded 'VMime Viewer' example. (diff)
downloadvmime-f1e8e707776eec72e4395025a3e72f132d7c1700.tar.gz
vmime-f1e8e707776eec72e4395025a3e72f132d7c1700.zip
Renamed MIME_VERSION to SUPPORTED_MIME_VERSION.
Diffstat (limited to 'src')
-rw-r--r--src/base.cpp2
-rw-r--r--src/messageBuilder.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp
index d1e462e6..8e0845b0 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -93,7 +93,7 @@ const string CRLF = "\r\n";
/** The current MIME version supported by VMime.
*/
-const string MIME_VERSION = "1.0";
+const string SUPPORTED_MIME_VERSION = "1.0";
// Line length limits
diff --git a/src/messageBuilder.cpp b/src/messageBuilder.cpp
index d1776278..0b4f0b9e 100644
--- a/src/messageBuilder.cpp
+++ b/src/messageBuilder.cpp
@@ -69,7 +69,7 @@ message* messageBuilder::construct() const
msg->getHeader()->Date().setValue(datetime::now());
// Add a "Mime-Version" header field
- msg->getHeader()->MimeVersion().setValue(string(MIME_VERSION));
+ msg->getHeader()->MimeVersion().setValue(string(SUPPORTED_MIME_VERSION));
// If there is one or more attachments (or other parts that are
// not "text/...") and if there is more than one parts for the