mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
A couple of people have pointed out that the local variable
`reading' in this file is not reliably initialised. [originally from svn r5054]
This commit is contained in:
parent
c64ad3bb0c
commit
b66b93034d
@ -271,7 +271,7 @@ int main(int argc, char **argv)
|
||||
HANDLE handles[4];
|
||||
DWORD in_threadid, out_threadid, err_threadid;
|
||||
struct input_data idata;
|
||||
int reading;
|
||||
int reading = FALSE;
|
||||
int sending;
|
||||
int portnumber = -1;
|
||||
SOCKET *sklist;
|
||||
@ -664,6 +664,7 @@ int main(int argc, char **argv)
|
||||
cleanup_exit(1);
|
||||
}
|
||||
sending = TRUE;
|
||||
reading = TRUE;
|
||||
}
|
||||
|
||||
if (run_timers(now, &next)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user