diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-25 16:38:08 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:17 +0200 |
commit | f4b37d7631c5641f0bfcc1cad5c8d6919b171d22 (patch) | |
tree | 45933668712dedf7cdb804153fd5daca9a6b826f /mimelib | |
parent | 1c7ec6639639012d9ac1132a4f13c62b1eb74add (diff) | |
download | tdepim-f4b37d7631c5641f0bfcc1cad5c8d6919b171d22.tar.gz tdepim-f4b37d7631c5641f0bfcc1cad5c8d6919b171d22.zip |
Fix linear alphabet string errors
(cherry picked from commit 80bc593eb31b3162fd870ee64eceb0ec90fac15c)
Diffstat (limited to 'mimelib')
-rw-r--r-- | mimelib/dw_cte.cpp | 2 | ||||
-rw-r--r-- | mimelib/mediatyp.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mimelib/dw_cte.cpp b/mimelib/dw_cte.cpp index 127a29aa..4498597d 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 87ee345e..7c766fe3 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-"); |