summaryrefslogtreecommitdiff
path: root/Tests/CustomCommand/tcat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomCommand/tcat.cxx')
-rw-r--r--Tests/CustomCommand/tcat.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/CustomCommand/tcat.cxx b/Tests/CustomCommand/tcat.cxx
index 89e3cb0a2e..d010d14838 100644
--- a/Tests/CustomCommand/tcat.cxx
+++ b/Tests/CustomCommand/tcat.cxx
@@ -3,9 +3,8 @@
int main()
{
int c;
- while((c = getc(stdin), c != EOF))
- {
+ while ((c = getc(stdin), c != EOF)) {
putc(c, stdout);
- }
+ }
return 0;
}