summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index fd612ddcce..4ac72c9af3 100644
--- a/io.c
+++ b/io.c
@@ -825,9 +825,9 @@ io_read(argc, argv, io)
rb_str_resize(str, 0);
return str;
}
- if (len > RSTRING(str)->len) {
- rb_str_resize(str,len);
- }
+ if (len > RSTRING(str)->len) {
+ rb_str_resize(str,len);
+ }
}
READ_CHECK(fptr->f);