summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-09-19 13:08:56 +0000
committerfukachan <fukachan>2003-09-19 13:08:56 +0000
commit880d79a5f85cdc3fc9122bbee20b0b1c3d097dbc (patch)
treefdc6b3d59d8629e80b0a6241a44778ed1e95bde7 /fml/lib/FML/Process
parent8afa3328bb3c15d1208f98146345ab04a247fd00 (diff)
downloadfml8-880d79a5f85cdc3fc9122bbee20b0b1c3d097dbc.tar.gz
fml8-880d79a5f85cdc3fc9122bbee20b0b1c3d097dbc.tar.bz2
fml8-880d79a5f85cdc3fc9122bbee20b0b1c3d097dbc.zip
fixed to avoid uninitialized ...
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Utils.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Utils.pm b/fml/lib/FML/Process/Utils.pm
index 9f893fd1..ee34bf57 100644
--- a/fml/lib/FML/Process/Utils.pm
+++ b/fml/lib/FML/Process/Utils.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: Utils.pm,v 1.78 2003/09/06 03:34:05 fukachan Exp $
+# $FML: Utils.pm,v 1.79 2003/09/13 13:02:32 fukachan Exp $
#
package FML::Process::Utils;
@@ -1110,7 +1110,7 @@ inform whether this process runs under MTA ?
sub is_cgi_process
{
my ($curproc) = @_;
- my $name = $curproc->myname();
+ my $name = $curproc->myname() || '';
if ($name =~ /\.cgi$/) {
return 1;
@@ -1127,7 +1127,7 @@ sub is_cgi_process
sub is_under_mta_process
{
my ($curproc) = @_;
- my $name = $curproc->myname();
+ my $name = $curproc->myname() || '';
if ($name eq 'distribute' ||
$name eq 'command' ||