X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FExtMsg.pm;h=ae0e218b25c8575a73b71efeb0d4ed2cffbd3a56;hb=72568e838d146250a78fea19bd4bbafc760e6a49;hp=146604169096a658270ec2e2681024f04911c00e;hpb=765add8acca099e69f2b2cde2bb58a48a00852d3;p=spider.git diff --git a/perl/ExtMsg.pm b/perl/ExtMsg.pm index 14660416..ae0e218b 100644 --- a/perl/ExtMsg.pm +++ b/perl/ExtMsg.pm @@ -83,7 +83,7 @@ sub dequeue if ($conn->{msg} =~ /\cJ$/) { delete $conn->{msg}; } else { - $conn->{msg} = pop @lines; + $conn->{msg} =~ s/([^\cM\cJ]*)\cM?\cJ//g; } while (defined ($msg = shift @lines)) { dbg("connect $conn->{cnum}: $msg") if $conn->{state} ne 'C' && isdbg('connect');