diff -urN udpcast.orig/udp-sender.c udpcast/udp-sender.c --- udpcast.orig/udp-sender.c 2003-03-21 16:07:23.000000000 -0600 +++ udpcast/udp-sender.c 2003-03-21 15:58:52.000000000 -0600 @@ -1,3 +1,8 @@ +/* + * Changes: + * 2003.03.21 Make min_wait notch down. Brian Finley + */ + #include #include #include @@ -292,6 +297,15 @@ } } + /* + * Notch min_clients down by one, so the human can enter what makes + * sense to it, and udp-sender can use the client counting scheme + * (starting at 0) that makes sense to it. -BEF- + */ + if(net_config.min_clients > 0) { + net_config.min_clients--; + } + if((net_config.flags & FLAG_POINTOPOINT) && (net_config.flags & FLAG_NOPOINTOPOINT)) { fatal(1,"pointopoint and nopointopoint cannot be set both\n");