commit f53b0ecbb6a2a5f295bfa00c18b0aed2ef6475ab
Author: Oswald Buddenhagen <[email protected]>
Date:   Sat Nov 2 16:43:23 2013 +0100

    sort messages by serial number instead of UID in box dumper
    
    the input data is sorted that way, so it's easier to compare.

 src/run-tests.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/run-tests.pl b/src/run-tests.pl
index 204cf20..2b425ce 100755
--- a/src/run-tests.pl
+++ b/src/run-tests.pl
@@ -341,7 +341,7 @@ sub showbox($)
        my ($mu, %ms) = readbox($bn);
        print " [ $mu,\n   ";
        my $frst = 1;
-       for my $num (sort {my ($ca, $cb) = ($ms{$a}[0], $ms{$b}[0]); 
($ca?$ca:$a+1000) <=> ($cb?$cb:$b+1000)} keys %ms) {
+       for my $num (sort { $a <=> $b } keys %ms) {
                if ($frst) {
                        $frst = 0;
                } else {

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to