summaryrefslogtreecommitdiff
path: root/urlescape.c
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-04-20 05:32:27 -0500
committerepoch <epoch@hacking.allowed.org>2019-04-20 05:32:27 -0500
commit6f402e2d2f052972886712f60d592684c8671982 (patch)
tree47a09324bd3c5e577ec5b7059bd6c8834bead115 /urlescape.c
parentd42135919f480c8bba4ca1f043fbabf44dac708f (diff)
downloaduritools-6f402e2d2f052972886712f60d592684c8671982.tar.gz
uritools-6f402e2d2f052972886712f60d592684c8671982.zip
rebased on an old copy of this repo. renamed everything. rewrote the uri parser. added uricmp. wew.
Diffstat (limited to 'urlescape.c')
-rw-r--r--urlescape.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/urlescape.c b/urlescape.c
deleted file mode 100644
index ce8e3e7..0000000
--- a/urlescape.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <stdio.h>
-#include "url.h"
-
-int main(int argc,char *argv[]) {
- int len;
- char *out;
- if(argc < 2) return 1;
- len=urlescapelength(argv[1],strlen(argv[1]));
- out=malloc(len+1);
- urlescape(argv[1],out,len);
- out[len]=0;
- printf("%s\n",out);
- return 0;
-}