From 80bc593eb31b3162fd870ee64eceb0ec90fac15c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 25 Jan 2012 16:38:08 -0600 Subject: Fix linear alphabet string errors --- mimelib/dw_cte.cpp | 2 +- mimelib/mediatyp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mimelib') 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-"); -- cgit v1.2.3