mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
FSCORE-610 Initialize when no console
This commit is contained in:
@@ -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)
|
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;
|
PINPUT_RECORD pInput;
|
||||||
|
|
||||||
GetNumberOfConsoleInputEvents(conIn, &toRead);
|
GetNumberOfConsoleInputEvents(conIn, &toRead);
|
||||||
|
Reference in New Issue
Block a user