forked from Mirrors/freeswitch
FSCORE-610 Initialize when no console
This commit is contained in:
parent
03d07b4cb6
commit
909ad64221
@ -1326,7 +1326,7 @@ static int console_bufferInput(char *addchars, int len, char *cmd, int key)
|
||||
|
||||
static BOOL console_readConsole(HANDLE conIn, char *buf, int len, int *pRed, int *key)
|
||||
{
|
||||
DWORD recordIndex, bufferIndex, toRead, red;
|
||||
DWORD recordIndex, bufferIndex, toRead = 0, red;
|
||||
PINPUT_RECORD pInput;
|
||||
|
||||
GetNumberOfConsoleInputEvents(conIn, &toRead);
|
||||
|
Loading…
Reference in New Issue
Block a user