aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/mime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mime.c b/src/mime.c
index ce28826..0e9863b 100755
--- a/src/mime.c
+++ b/src/mime.c
@@ -61,7 +61,7 @@ static luaL_Reg func[] = {
61\*-------------------------------------------------------------------------*/ 61\*-------------------------------------------------------------------------*/
62enum {QP_PLAIN, QP_QUOTED, QP_CR, QP_IF_LAST}; 62enum {QP_PLAIN, QP_QUOTED, QP_CR, QP_IF_LAST};
63 63
64static UC qpclass[] = { 64static const UC qpclass[] = {
65 QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, 65 QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED,
66 QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_IF_LAST, QP_QUOTED, QP_QUOTED, 66 QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_IF_LAST, QP_QUOTED, QP_QUOTED,
67 QP_QUOTED, QP_CR, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, 67 QP_QUOTED, QP_CR, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED,
@@ -237,10 +237,10 @@ static int mime_global_wrp(lua_State *L)
237 return 2; 237 return 2;
238} 238}
239 239
240#if 0
240/*-------------------------------------------------------------------------*\ 241/*-------------------------------------------------------------------------*\
241* Fill base64 decode map. 242* Fill base64 decode map.
242\*-------------------------------------------------------------------------*/ 243\*-------------------------------------------------------------------------*/
243#if 0
244static void b64setup(UC *unbase) 244static void b64setup(UC *unbase)
245{ 245{
246 int i; 246 int i;
@@ -448,11 +448,11 @@ static int mime_global_unb64(lua_State *L)
448* To encode one byte, we need to see the next two. 448* To encode one byte, we need to see the next two.
449* Worst case is when we see a space, and wonder if a CRLF is comming 449* Worst case is when we see a space, and wonder if a CRLF is comming
450\*-------------------------------------------------------------------------*/ 450\*-------------------------------------------------------------------------*/
451#if 0
451/*-------------------------------------------------------------------------*\ 452/*-------------------------------------------------------------------------*\
452* Split quoted-printable characters into classes 453* Split quoted-printable characters into classes
453* Precompute reverse map for encoding 454* Precompute reverse map for encoding
454\*-------------------------------------------------------------------------*/ 455\*-------------------------------------------------------------------------*/
455#if 0
456static void qpsetup(UC *cl, UC *unbase) 456static void qpsetup(UC *cl, UC *unbase)
457{ 457{
458 458