Workaround for double spaces added by Zappa Mexico; patch from
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 20 Jan 2008 17:01:42 +0000 (18:01 +0100)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 20 Jan 2008 17:01:42 +0000 (18:01 +0100)
nematocyst.

remoteglot.pl

index f36a050..16416ba 100755 (executable)
@@ -215,6 +215,7 @@ sub handle_uci {
 
        chomp $line;
        $line =~ tr/\r//d;
+       $line =~ s/  / /g;  # Sometimes needed for Zappa Mexico
        print UCILOG localtime() . " <= $line\n";
        if ($line =~ /^info/) {
                my (@infos) = split / /, $line;