diff options
Diffstat (limited to 'urlescape.c')
-rw-r--r-- | urlescape.c | 14 |
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; -} |