projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.3.2
[debian/amanda]
/
perl
/
Amanda
/
Header.pm
diff --git
a/perl/Amanda/Header.pm
b/perl/Amanda/Header.pm
index d8cc69275945307f770f3c848d360a8a3f6d6801..3b01eacbd8036b78c166269f0dc63565cf4c2afc 100644
(file)
--- a/
perl/Amanda/Header.pm
+++ b/
perl/Amanda/Header.pm
@@
-482,7
+482,11
@@
sub from_string {
sub get_dle {
my $self = shift;
sub get_dle {
my $self = shift;
- return Amanda::Header::HeaderXML->new($self->{'dle_str'});
+ if ($self->{'dle_str'}) {
+ return Amanda::Header::HeaderXML->new($self->{'dle_str'});
+ } else {
+ return undef;
+ }
}
package Amanda::Header::Header;
}
package Amanda::Header::Header;