recentchanges
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 03:51:09 +0000 (03:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 03:51:09 +0000 (03:51 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index ceb34189c0ef87ace50c110c51c8f62a2a1390a8..d5400b0cd0a3f8554227d03f09a09b5fb59fba2a 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -399,10 +399,10 @@ sub rcs_recentchanges ($) {
                                $state='body';
                        }
                        elsif ($state eq 'body' && /$div/) {
-                               push @ret, {rev => $rev, user => $user,
+                               push @ret, { rev => $rev, user => $user,
                                        date => $when, message => $message,
-                                       pages => [@pages]},
-                               print STDERR "have: @ret\n";
+                                       pages => [@pages] },
+                               print STDERR "have: $#ret\n";
                                return @ret if @ret >= $num;
                                
                                $state='header';