+03May01=======================================================================
+1. It appears that for ages now, not enough PC19 and PC16s are being sent
+if you have more than one of them. Sigh..
02May01=======================================================================
1. put an upper limit on the number of concurrent errors allowed in command
mode (20). This should disconnect runaway spot suckers....
{
my $self = shift;
my @out;
+ my $i;
- foreach (@_) {
+ for ($i = 0; @_; ) {
my $str = "PC16^$self->{call}";
- my $i;
-
- for ($i = 0; @_ > 0 && $i < $DXProt::pc16_max_users; $i++) {
+ for ( ; @_ && $i < $DXProt::pc16_max_users; $i++) {
my $ref = shift;
$str .= sprintf "^%s %s %d", $ref->call, $ref->confmode ? '*' : '-', $ref->here;
}
$str .= sprintf "^%s^", get_hops(16);
push @out, $str;
+ $i = 0;
}
return (@out);
}
{
my $self = shift;
my @out;
+ my $i;
+
- while (@_) {
+ for ($i = 0; @_; ) {
my $str = "PC19";
my $i;
- for ($i = 0; @_ && $i < $DXProt::pc19_max_nodes; $i++) {
+ for (; @_ && $i < $DXProt::pc19_max_nodes; $i++) {
my $ref = shift;
my $here = $ref->{here} ? '1' : '0';
my $confmode = $ref->{confmode} ? '1' : '0';
}
$str .= sprintf "^%s^", get_hops(19);
push @out, $str;
+ $i = 0;
}
return @out;
}