|
@@ -535,9 +535,9 @@ void ioman_readlineHandler(char *line) {
|
|
|
/* main user input loop */
|
|
|
void IoMan::run() {
|
|
|
printMessage("IoMan::run() begin", debug);
|
|
|
- struct pollfd inPipeStatus;
|
|
|
- inPipeStatus.fd = STDIN_FILENO;
|
|
|
- inPipeStatus.events = POLLIN;
|
|
|
+ struct pollfd inpipestatus;
|
|
|
+ inpipestatus.fd = STDIN_FILENO;
|
|
|
+ inpipestatus.events = POLLIN;
|
|
|
|
|
|
runmain = true;
|
|
|
|
|
@@ -548,9 +548,9 @@ void IoMan::run() {
|
|
|
while (runmain) {
|
|
|
mainmutex.unlock();
|
|
|
|
|
|
- poll(&inPipeStatus, 1, 100);
|
|
|
+ poll(&inpipestatus, 1, 100);
|
|
|
|
|
|
- if (inPipeStatus.revents & POLLIN) {
|
|
|
+ if (inpipestatus.revents & POLLIN) {
|
|
|
rl_callback_read_char();
|
|
|
}
|
|
|
if (!connected)
|