diff options
-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. |