From 7d01b3180735273710d63bd58b90748f4ecf21da Mon Sep 17 00:00:00 2001 From: Elie De Brauwer Date: Sat, 22 Dec 2012 11:44:21 +0100 Subject: Refactoring broke rev --- toys/other/rev.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3