Software /
code /
prosody
Diff
util-src/encodings.c @ 417:d60e63379284
Removed commented code
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 26 Nov 2008 01:55:07 +0500 |
parent | 415:3cf7deea9971 |
child | 432:fb19a5c14d44 |
line wrap: on
line diff
--- a/util-src/encodings.c Wed Nov 26 01:46:16 2008 +0500 +++ b/util-src/encodings.c Wed Nov 26 01:55:07 2008 +0500 @@ -1,8 +1,6 @@ /* -* xxpath.c -* An implementation of a subset of xpath for Lua 5.1 -* Waqas Hussain <waqas20@gmail.com> -* 05 Oct 2008 15:28:15 +* encodings.c +* Lua library for base64, stringprep and idna encodings */ #include <string.h> @@ -10,16 +8,6 @@ #include "lua.h" #include "lauxlib.h" -/*const char* hex_tab = "0123456789abcdef"; -void toHex(const char* in, int length, char* out) { - int i; - for (i = 0; i < length; i++) { - out[i*2] = hex_tab[(in[i] >> 4) & 0xF]; - out[i*2+1] = hex_tab[(in[i]) & 0xF]; - } - //out[i*2] = 0; -}*/ - /***************** BASE64 *****************/ #define uint unsigned int