aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2019-03-10 00:47:17 -0300
committerDiego Nehab <diego.nehab@gmail.com>2019-03-10 00:47:17 -0300
commit2af4872a401cbd0c1255e19ee26620f0431dd9f5 (patch)
treea63a4c5d00b8a04b60c6f03f8fc932b257f5d8a9 /src
parent03b72d8f7ee5e35f76f97da299ce676946023725 (diff)
downloadluasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.tar.gz
luasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.tar.bz2
luasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.zip
Fix formatting.
Diffstat (limited to 'src')
-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