X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fclient.c;h=885b50efa3601a019e4038001dbb84f9787eaae5;hb=1c5fa3a6ec9cc163aab24565948e1bcff7d607d9;hp=382c852b1310752ddbcdf707b45b84b4ce3b530d;hpb=bff9ecf00b14e7d71d9504088a2fd7b9e5115fe1;p=spider.git diff --git a/src/client.c b/src/client.c index 382c852b..885b50ef 100644 --- a/src/client.c +++ b/src/client.c @@ -629,9 +629,11 @@ void term_timeout(int i) void terminate(int i) { +#if 0 if (node && send_Z && call) { send_msg(node, 'Z', "bye", 3); } +#endif signal(SIGALRM, term_timeout); alarm(10); @@ -850,9 +852,9 @@ lgotcall: send_msg(node, 'A', connsort, strlen(connsort)); /* main processing loop */ - while (!ending) { + while (ending == 0) { sel_run(); - if (!ending) { + if (ending == 0) { process_stdin(); process_node(); }