X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fconsole.pl;h=35e5da7e9bf339aebf3f26e209e6f9e9b262850e;hb=88665a2bed3b9ec9e97237938a95a045b2a21bb4;hp=5fd965ee8f1da9f0d3a950daed7036531d214495;hpb=0bd9d2811cc42417676a1b11b121681c2377d70a;p=spider.git diff --git a/perl/console.pl b/perl/console.pl index 5fd965ee..35e5da7e 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -214,13 +214,18 @@ sub rec_socket cease(1); } if (defined $msg) { - my ($sort, $call, $line) = $msg =~ /^(\w)(\S+)\|(.*)$/; + my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/; if ($sort && $sort eq 'D') { addtotop($line); } elsif ($sort && $sort eq 'Z') { # end, disconnect, go, away ..... cease(0); } + # ****************************************************** + # ****************************************************** + # any other sorts that might happen are silently ignored. + # ****************************************************** + # ****************************************************** } $top->refresh(); $lasttime = time;