]> git.sesse.net Git - remoteglot/commitdiff
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 f36a0504b58f60a4fa49bca1d139676ea55f1d5d..16416ba07fb7a37c48c6e1c36e54c0c9cd69fe04 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;