nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 6d879abedf97733273fc1011d44b26f8980d04fa
parent e794b49925c1a1762aece35a5d7e09f1444d1ab7
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Mon, 11 May 2020 19:04:53 +0200

unwrap lines in substdio_bput()

Diffstat:
Msubstdo.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/substdo.c b/substdo.c @@ -43,7 +43,10 @@ register int len; register int n; while (len > (n = s->n - s->p)) { - byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; + byte_copy(s->x + s->p,n,buf); + s->p += n; + buf += n; + len -= n; if (substdio_flush(s) == -1) return -1; } /* now len <= s->n - s->p */