summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/QueueManager.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-25 03:34:31 +0000
committerfukachan <fukachan>2004-05-25 03:34:31 +0000
commit3b723b992daa08261e2406c43c6845aa8d76d521 (patch)
tree459de4f0614e4f6855ffff8b0ec46b7f101987b0 /fml/lib/FML/Process/QueueManager.pm
parentc5ed2014bb28ce5ca609126910ef479cab47669f (diff)
downloadfml8-3b723b992daa08261e2406c43c6845aa8d76d521.tar.gz
fml8-3b723b992daa08261e2406c43c6845aa8d76d521.tar.bz2
fml8-3b723b992daa08261e2406c43c6845aa8d76d521.zip
modify log message format a little.
$q->valid() changed to $q->valid_active_queue().
Diffstat (limited to 'fml/lib/FML/Process/QueueManager.pm')
-rw-r--r--fml/lib/FML/Process/QueueManager.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/QueueManager.pm b/fml/lib/FML/Process/QueueManager.pm
index fb368025..f8a67b76 100644
--- a/fml/lib/FML/Process/QueueManager.pm
+++ b/fml/lib/FML/Process/QueueManager.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: QueueManager.pm,v 1.18 2004/01/02 16:08:39 fukachan Exp $
+# $FML: QueueManager.pm,v 1.19 2004/02/15 04:38:34 fukachan Exp $
#
package FML::Process::QueueManager;
@@ -91,7 +91,7 @@ sub send
};
if ( $q->lock() ) {
- if ( $q->valid() ) {
+ if ( $q->valid_active_queue() ) {
$self->_send($curproc, $q) && $q->remove();
}
else {
@@ -134,10 +134,10 @@ sub _send
});
if ($r) {
- $curproc->log("queue=$qid status=sent");
+ $curproc->log("qmgr: qid=$qid status=sent");
}
else {
- $curproc->log("queue=$qid status=fail");
+ $curproc->log("qmgr: qid=$qid status=fail");
}
return $r;