summaryrefslogtreecommitdiffstats
path: root/strport.scm
diff options
context:
space:
mode:
Diffstat (limited to 'strport.scm')
-rw-r--r--strport.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/strport.scm b/strport.scm
index 54d8d39..a75ab0a 100644
--- a/strport.scm
+++ b/strport.scm
@@ -33,7 +33,7 @@
(cond ((eof-object? c)
(set! s (string-append s (substring buf 0 i))))
((>= i 512)
- (set! s (string-append s buf))
+ (set! s (string-append s buf (string c)))
(loop 0))
(else
(string-set! buf i c)