diff options
author | Elie De Brauwer <eliedebrauwer@gmail.com> | 2012-12-22 11:44:21 +0100 |
---|---|---|
committer | Elie De Brauwer <eliedebrauwer@gmail.com> | 2012-12-22 11:44:21 +0100 |
commit | 7d01b3180735273710d63bd58b90748f4ecf21da (patch) | |
tree | c755da319b6e5be9a4d65173606458344b2d70a4 | |
parent | 8390c65cea50f76af7efc80e14c71ed0e440d343 (diff) | |
download | toybox-7d01b3180735273710d63bd58b90748f4ecf21da.tar.gz |
Refactoring broke rev
-rw-r--r-- | toys/other/rev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/other/rev.c b/toys/other/rev.c index 8cad7da3..b5720a31 100644 --- a/toys/other/rev.c +++ b/toys/other/rev.c @@ -29,7 +29,6 @@ void do_rev(int fd, char *name) c[i] = c[len-i]; c[len-i] = tmp; - i++; } xputs(c); free(c); |