summaryrefslogtreecommitdiff
path: root/fml/lib/Netlib/Utils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/Netlib/Utils.pm')
-rw-r--r--fml/lib/Netlib/Utils.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/Netlib/Utils.pm b/fml/lib/Netlib/Utils.pm
index facda455..5bee5a3a 100644
--- a/fml/lib/Netlib/Utils.pm
+++ b/fml/lib/Netlib/Utils.pm
@@ -24,7 +24,7 @@ require Exporter;
$LogFunctionPointer
$SmtpLogFunctionPointer
- _error_why
+ _error_reason
error
error_reset
@@ -81,7 +81,7 @@ sub _smtplog
}
-sub _error_why
+sub _error_reason
{
my ($self, $mesg) = @_;
$self->{'_error_reason'} = $mesg;
@@ -91,7 +91,7 @@ sub _error_why
sub error_reason
{
my ($self, $mesg) = @_;
- $self->_error_why($mesg);
+ $self->_error_reason($mesg);
}