diff options
| author | Diego Nehab <diego.nehab@gmail.com> | 2019-03-10 00:47:17 -0300 |
|---|---|---|
| committer | Diego Nehab <diego.nehab@gmail.com> | 2019-03-10 00:47:17 -0300 |
| commit | 2af4872a401cbd0c1255e19ee26620f0431dd9f5 (patch) | |
| tree | a63a4c5d00b8a04b60c6f03f8fc932b257f5d8a9 /src | |
| parent | 03b72d8f7ee5e35f76f97da299ce676946023725 (diff) | |
| download | luasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.tar.gz luasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.tar.bz2 luasocket-2af4872a401cbd0c1255e19ee26620f0431dd9f5.zip | |
Fix formatting.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/mime.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -61,7 +61,7 @@ static luaL_Reg func[] = { | |||
| 61 | \*-------------------------------------------------------------------------*/ | 61 | \*-------------------------------------------------------------------------*/ |
| 62 | enum {QP_PLAIN, QP_QUOTED, QP_CR, QP_IF_LAST}; | 62 | enum {QP_PLAIN, QP_QUOTED, QP_CR, QP_IF_LAST}; |
| 63 | 63 | ||
| 64 | static UC qpclass[] = { | 64 | static 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 | ||
| 244 | static void b64setup(UC *unbase) | 244 | static 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 | ||
| 456 | static void qpsetup(UC *cl, UC *unbase) | 456 | static void qpsetup(UC *cl, UC *unbase) |
| 457 | { | 457 | { |
| 458 | 458 | ||
