X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=select.c;h=87637397f4a08ae404e60a222c25389a3e266259;hp=ba9b563932546d4d3ac608d5a5d9f3ccbedcc88f;hb=129a76d1411166176db646138b35e8f5ed9907a2;hpb=b0bd74e35e935aa976b68c594def4e8d2c22ef95 diff --git a/select.c b/select.c index ba9b563..8763739 100644 --- a/select.c +++ b/select.c @@ -104,9 +104,9 @@ again: } if (polling) timer = &no_time; -#warning TESTING - if (!timer) - printf("wait till infinity ..."); fflush(stdout); +//#warning TESTING +// if (!timer) +// printf("wait till infinity ..."); fflush(stdout); FD_ZERO(&readset); FD_ZERO(&writeset); @@ -129,9 +129,9 @@ again: rc = select(maxfd+1, &readset, &writeset, &exceptset, timer); if (lock) lock(); -#warning TESTING - if (!timer) - printf("interrupted.\n"); +//#warning TESTING +// if (!timer) +// printf("interrupted.\n"); if (rc < 0) return 0; if (global_change && *global_change) {