ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/myhttpd/shell.pl
(Generate patch)

Comparing Coro/myhttpd/shell.pl (file contents):
Revision 1.14 by root, Thu Aug 16 16:40:07 2001 UTC vs.
Revision 1.15 by root, Sun Aug 19 23:57:52 2001 UTC

51 printf $fh "(%.1f bytes/s)\n", $::written / ($::NOW - $last_ts); 51 printf $fh "(%.1f bytes/s)\n", $::written / ($::NOW - $last_ts);
52 ($last_ts, $::written) = ($::NOW, 0); 52 ($last_ts, $::written) = ($::NOW, 0);
53 } elsif ($cmd eq "refresh") { 53 } elsif ($cmd eq "refresh") {
54 do "config.pl"; 54 do "config.pl";
55 print $fh "config.pl: $@\n" if $@; 55 print $fh "config.pl: $@\n" if $@;
56 read_blocklist; 56 read_blockuri;
57 read_blockref;
57 } elsif ($cmd eq "restart") { 58 } elsif ($cmd eq "restart") {
58 $::RESTART = 1; 59 $::RESTART = 1;
59 unloop; 60 unloop;
60 print $fh "restarting, cu!\n"; 61 print $fh "restarting, cu!\n";
61 last; 62 last;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines