mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 04:55:02 -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];
|
HANDLE handles[4];
|
||||||
DWORD in_threadid, out_threadid, err_threadid;
|
DWORD in_threadid, out_threadid, err_threadid;
|
||||||
struct input_data idata;
|
struct input_data idata;
|
||||||
int reading;
|
int reading = FALSE;
|
||||||
int sending;
|
int sending;
|
||||||
int portnumber = -1;
|
int portnumber = -1;
|
||||||
SOCKET *sklist;
|
SOCKET *sklist;
|
||||||
@ -664,6 +664,7 @@ int main(int argc, char **argv)
|
|||||||
cleanup_exit(1);
|
cleanup_exit(1);
|
||||||
}
|
}
|
||||||
sending = TRUE;
|
sending = TRUE;
|
||||||
|
reading = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (run_timers(now, &next)) {
|
if (run_timers(now, &next)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user