X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=raw.c;h=97355e8ad768bd38df89bc653736a386c9143c5b;hb=f004bcca17a789356c32527a396b68b71a773db2;hp=a7fbbc5cc5f32e8c23feae149dc53c5a3193795a;hpb=8da4fa506389910599c59b87ba1b799efd6d3ae1;p=PuTTY.git diff --git a/raw.c b/raw.c index a7fbbc5c..97355e8a 100644 --- a/raw.c +++ b/raw.c @@ -146,6 +146,7 @@ static const char *raw_init(void *frontend_handle, void **backend_handle, raw->closed_on_socket_error = FALSE; *backend_handle = raw; raw->sent_console_eof = raw->sent_socket_eof = FALSE; + raw->bufsize = 0; raw->frontend = frontend_handle;