diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-26 01:55:07 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-26 01:55:07 +0500 |
commit | 15d8fc0d62296146e8901d345fa74cecf03e2d77 (patch) | |
tree | ac36d83533c756c5e0d5fdce6517266b93f2c3d0 /util-src/encodings.c | |
parent | e7e668c24bd2ab19f6245386fc4b07f9f50106fa (diff) | |
download | prosody-15d8fc0d62296146e8901d345fa74cecf03e2d77.tar.gz prosody-15d8fc0d62296146e8901d345fa74cecf03e2d77.zip |
Removed commented code
Diffstat (limited to 'util-src/encodings.c')
-rw-r--r-- | util-src/encodings.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c index f99d3faf..cc7beef7 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -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
|