diff options
| author | fukachan <fukachan> | 2003-03-17 08:58:50 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-03-17 08:58:50 +0000 |
| commit | cfb5683a36cdbe9355f08bde3f85040a11600efb (patch) | |
| tree | fe5f127e4911ab249a453d365c005714e5700fcf /fml/lib/Mail/Delivery | |
| parent | c73c909b83ac7cf1a23c752b66b562b76af7d7b8 (diff) | |
| download | fml8-cfb5683a36cdbe9355f08bde3f85040a11600efb.tar.gz fml8-cfb5683a36cdbe9355f08bde3f85040a11600efb.tar.bz2 fml8-cfb5683a36cdbe9355f08bde3f85040a11600efb.zip | |
log setrunnable() succeed.
Diffstat (limited to 'fml/lib/Mail/Delivery')
| -rw-r--r-- | fml/lib/Mail/Delivery/Queue.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fml/lib/Mail/Delivery/Queue.pm b/fml/lib/Mail/Delivery/Queue.pm index b2a977d4..1dc13e9e 100644 --- a/fml/lib/Mail/Delivery/Queue.pm +++ b/fml/lib/Mail/Delivery/Queue.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: Queue.pm,v 1.22 2002/12/20 03:50:27 fukachan Exp $ +# $FML: Queue.pm,v 1.23 2003/02/11 12:03:19 fukachan Exp $ # package Mail::Delivery::Queue; @@ -461,7 +461,11 @@ sub setrunnable } # move new/$id to active/$id - rename( $self->{ _new_qf }, $self->{ _active_qf } ); + if (rename( $self->{ _new_qf }, $self->{ _active_qf } )) { + return 1; + } + + return 0; } |
