/[pxelator]/lib/PXElator/httpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/httpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 495 by dpavlin, Mon Jan 25 18:30:47 2010 UTC revision 496 by dpavlin, Sun Jan 31 15:22:34 2010 UTC
# Line 293  warn "XXX pids = ", dump( $daemons::pids Line 293  warn "XXX pids = ", dump( $daemons::pids
293                  my ( $s1,$s2 ) = ( ' class=z', '' );                  my ( $s1,$s2 ) = ( ' class=z', '' );
294                  my @cols;                  my @cols;
295    
296                  store::query( sub {                  my $from_t = $param->{from_t};
297    
298                    store::query( $from_t, sub {
299                          my $o = shift;                          my $o = shift;
300                          my $p = delete( $o->{package} );                          my $p = delete( $o->{package} );
301                          delete( $o->{_id} );                          delete( $o->{_id} );
# Line 316  warn "XXX pids = ", dump( $daemons::pids Line 318  warn "XXX pids = ", dump( $daemons::pids
318                                  , qq|</tr>\n|                                  , qq|</tr>\n|
319                          ;                          ;
320                          ( $s1, $s2 ) = ( $s2, $s1 );                          ( $s1, $s2 ) = ( $s2, $s1 );
321                            $from_t = $p->{time};
322                  });                  });
323                  print $client qq|</table>|;                  print $client qq|</table>|,
324                            qq|<a href="/store/latest?from_t=$from_t">more</a>|
325                    ;
326    
327          } elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) {          } elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) {
328                  my $ip = $1;                  my $ip = $1;

Legend:
Removed from v.495  
changed lines
  Added in v.496

  ViewVC Help
Powered by ViewVC 1.1.26