diff options
author | Fernando Carrijo <fcarrijo@yahoo.com.br> | 2010-08-14 06:42:41 -0300 |
---|---|---|
committer | Fernando Carrijo <fcarrijo@yahoo.com.br> | 2010-08-14 06:42:41 -0300 |
commit | e436b88c15a894e47fcdb93ff0a4925a815db320 (patch) | |
tree | 8186581580d5c7a85fe202de39fa28f8f90d64db | |
parent | 35c087adae0106086728d7376d13bccea493dca2 (diff) |
inputthread: InputThreadReadPipe is a general socket, not a device
-rw-r--r-- | os/WaitFor.c | 2 | ||||
-rw-r--r-- | os/inputthread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index eb4c8b5cd..7f6c73b1f 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -166,7 +166,7 @@ WaitForSomething(int *pClientsReady) /* watch for input thread updates, so the main thread can proceed with the * processing of events */ - AddEnabledDevice(InputThreadReadPipe); + AddGeneralSocket(InputThreadReadPipe); /* We need a while loop here to handle crashed connections and the screen saver timeout */ diff --git a/os/inputthread.c b/os/inputthread.c index 26f1ef0dc..c7e0450e5 100644 --- a/os/inputthread.c +++ b/os/inputthread.c @@ -164,7 +164,7 @@ CreateInputThread (void) void CloseInputThread (void) { - RemoveEnabledDevice(InputThreadReadPipe); + RemoveGeneralSocket(InputThreadReadPipe); FD_ZERO(&InputThreadFd); NumDevicesThreaded = 0; |