diff options
author | epoch <epoch@hacking.allowed.org> | 2020-01-21 10:34:57 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-01-21 10:34:57 -0600 |
commit | ab6f01595d2beec73d2ac6276aa3606a6f5d9f3c (patch) | |
tree | 7a8eef2a9dd8afc14a67afa451e0d8b9c6264e24 /uriunescape.c | |
parent | 7b51097285ff6b74176c7624fbf51498b7b7415d (diff) | |
download | uritools-ab6f01595d2beec73d2ac6276aa3606a6f5d9f3c.tar.gz uritools-ab6f01595d2beec73d2ac6276aa3606a6f5d9f3c.zip |
last commit was an in-progress I failed to notice. it should work now.
Diffstat (limited to 'uriunescape.c')
-rw-r--r-- | uriunescape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uriunescape.c b/uriunescape.c index 73ceabd..9543c4c 100644 --- a/uriunescape.c +++ b/uriunescape.c @@ -3,7 +3,7 @@ #include <stdio.h> int main(int argc,char *argv[]) { - int i; + int i,j; int len; char doh[2]; @@ -31,7 +31,7 @@ int main(int argc,char *argv[]) { write(1,buf2,len); //we end with a %[single char] buf[0]='%'; - buf[1]=doh; + buf[1]=doh[0]; } } if(!hack) {//we're good. |