summaryrefslogtreecommitdiffstats
path: root/mimelib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-25 16:38:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-25 16:38:08 -0600
commit80bc593eb31b3162fd870ee64eceb0ec90fac15c (patch)
tree9e708275b1ba15febc8134eb7cda3eb6ca54395c /mimelib
parentbdfea250b774ef95da2f67db2db8dd34a431d80e (diff)
downloadtdepim-80bc593eb31b3162fd870ee64eceb0ec90fac15c.tar.gz
tdepim-80bc593eb31b3162fd870ee64eceb0ec90fac15c.zip
Fix linear alphabet string errors
Diffstat (limited to 'mimelib')
-rw-r--r--mimelib/dw_cte.cpp2
-rw-r--r--mimelib/mediatyp.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/mimelib/dw_cte.cpp b/mimelib/dw_cte.cpp
index 127a29aa8..4498597d3 100644
--- a/mimelib/dw_cte.cpp
+++ b/mimelib/dw_cte.cpp
@@ -353,7 +353,7 @@ static int to_cr(const char* srcBuf, size_t srcLen, char* destBuf,
}
-static char base64tab[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
+static char base64tab[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz0123456789+/";
static char base64idx[128] = {
diff --git a/mimelib/mediatyp.cpp b/mimelib/mediatyp.cpp
index 87ee345e4..7c766fe3d 100644
--- a/mimelib/mediatyp.cpp
+++ b/mimelib/mediatyp.cpp
@@ -231,7 +231,7 @@ void DwMediaType::SetBoundary(const DwString& aStr)
void DwMediaType::CreateBoundary(unsigned aLevel)
{
// Create a random printable string and set it as the boundary parameter
- static const char c[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+ static const char c[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
const int cLen = 64;
char buf[80];
strcpy(buf, "Boundary-");