summaryrefslogtreecommitdiff
path: root/fml/lib/FML/MTA/Control.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-01-02 10:23:55 +0000
committerfukachan <fukachan>2004-01-02 10:23:55 +0000
commit78af1c5e647ddf464a9a9a4f2348bb3b537a5d46 (patch)
treea67e2e2a50f4ef5beeb13288e4f5d7fa8c98d54a /fml/lib/FML/MTA/Control.pm
parent60e187bcb2509d807ff03dee5665a0769c4978ff (diff)
downloadfml8-78af1c5e647ddf464a9a9a4f2348bb3b537a5d46.tar.gz
fml8-78af1c5e647ddf464a9a9a4f2348bb3b537a5d46.tar.bz2
fml8-78af1c5e647ddf464a9a9a4f2348bb3b537a5d46.zip
remove/rename $args
Diffstat (limited to 'fml/lib/FML/MTA/Control.pm')
-rw-r--r--fml/lib/FML/MTA/Control.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/MTA/Control.pm b/fml/lib/FML/MTA/Control.pm
index 39d2672f..d389d105 100644
--- a/fml/lib/FML/MTA/Control.pm
+++ b/fml/lib/FML/MTA/Control.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: MTAControl.pm,v 1.21 2003/09/13 09:16:59 fukachan Exp $
+# $FML: Control.pm,v 1.1 2003/12/28 13:23:18 fukachan Exp $
#
package FML::MTA::Control;
@@ -56,17 +56,17 @@ my $default_mta = 'postfix';
# Descriptions: ordinary constructor
-# Arguments: OBJ($self) HASH_REF($args)
+# Arguments: OBJ($self) HASH_REF($ctl_args)
# Side Effects: none
# Return Value: OBJ
sub new
{
- my ($self, $args) = @_;
+ my ($self, $ctl_args) = @_;
my ($type) = ref($self) || $self;
my $me = {};
# default mta is postfix.
- $me->{ mta_type } = $args->{ mta_type } || $default_mta;
+ $me->{ mta_type } = $ctl_args->{ mta_type } || $default_mta;
return bless $me, $type;
}