X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4d331a77f20f321f867f5907e2ffc06249378881..fe50e8140a2dbb3ba357a0ab777f34e07d568c23:/raw.c diff --git a/raw.c b/raw.c index cf6d04f8..3f82d7ad 100644 --- a/raw.c +++ b/raw.c @@ -54,8 +54,7 @@ static void s_write (void *buf, int len) { } static void c_write (char *buf, int len) { - while (len--) - c_write1(*buf++); + from_backend(0, buf, len); } /* @@ -243,5 +242,6 @@ Backend raw_backend = { raw_size, raw_special, raw_socket, - raw_sendok + raw_sendok, + 1 };