From 1e48ff652b95379376044b0a7187e1c75fb76d42 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 21 Apr 2006 16:34:15 +0000 Subject: cleanup sur channel et main loop --- src/ivyprobe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ivyprobe.c') diff --git a/src/ivyprobe.c b/src/ivyprobe.c index 58f55e3..0ef674a 100644 --- a/src/ivyprobe.c +++ b/src/ivyprobe.c @@ -230,7 +230,7 @@ void ApplicationCallback (IvyClientPtr app, void *user_data, IvyApplicationEvent #ifndef WIN32 /* Stdin not compatible with select , select only accept socket */ if (app_count == wait_count) - IvyChannelSetUp (0, NULL, NULL, HandleStdin); + IvyChannelAdd (0, NULL, NULL, HandleStdin); #endif break; @@ -322,7 +322,7 @@ int main(int argc, char *argv[]) if (wait_count == 0) #ifndef WIN32 /* Stdin not compatible with select , select only accept socket */ - IvyChannelSetUp (0, NULL, NULL, HandleStdin); + IvyChannelAdd (0, NULL, NULL, HandleStdin); #endif IvyStart (bus); -- cgit v1.1