From 2af4872a401cbd0c1255e19ee26620f0431dd9f5 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sun, 10 Mar 2019 00:47:17 -0300 Subject: [PATCH] Fix formatting. --- src/mime.c | 6 +++--- 1 file 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[] = { \*-------------------------------------------------------------------------*/ enum {QP_PLAIN, QP_QUOTED, QP_CR, QP_IF_LAST}; -static UC qpclass[] = { +static const UC qpclass[] = { QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_IF_LAST, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_CR, QP_QUOTED, QP_QUOTED, QP_QUOTED, QP_QUOTED, @@ -237,10 +237,10 @@ static int mime_global_wrp(lua_State *L) return 2; } +#if 0 /*-------------------------------------------------------------------------*\ * Fill base64 decode map. \*-------------------------------------------------------------------------*/ -#if 0 static void b64setup(UC *unbase) { int i; @@ -448,11 +448,11 @@ static int mime_global_unb64(lua_State *L) * To encode one byte, we need to see the next two. * Worst case is when we see a space, and wonder if a CRLF is comming \*-------------------------------------------------------------------------*/ +#if 0 /*-------------------------------------------------------------------------*\ * Split quoted-printable characters into classes * Precompute reverse map for encoding \*-------------------------------------------------------------------------*/ -#if 0 static void qpsetup(UC *cl, UC *unbase) {