/[pdpsoft]/nl.nikhef.pdp.fetchcrl/tags/fetch-crl-3.0.6-1/TrustAnchor.pm
ViewVC logotype

Diff of /nl.nikhef.pdp.fetchcrl/tags/fetch-crl-3.0.6-1/TrustAnchor.pm

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

revision 2085 by davidg, Thu Nov 11 11:20:00 2010 UTC revision 2188 by davidg, Sun Feb 13 18:41:25 2011 UTC
# Line 46  sub setLogMode($) { Line 46  sub setLogMode($) {
46  sub restoreLogMode($) {  sub restoreLogMode($) {
47    my $self = shift;    my $self = shift;
48    return 0 unless defined $self;    return 0 unless defined $self;
49    $self->{"preserve_warnings"} and $self->{"preserve_errors"} or    (defined $self->{"preserve_warnings"} and defined $self->{"preserve_errors"})
50      die "Internal error: restoreLogMode called without previous save\n";      or die "Internal error: restoreLogMode called without previous save\n";
51    $::log->setwarnings($self->{"preserve_warnings"});    $::log->setwarnings($self->{"preserve_warnings"});
52    $::log->seterrors($self->{"preserve_errors"});    $::log->seterrors($self->{"preserve_errors"});
53    return 1;    return 1;

Legend:
Removed from v.2085  
changed lines
  Added in v.2188

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28