summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-17 12:33:31 +0000
committerfukachan <fukachan>2004-05-17 12:33:31 +0000
commit4bbd72571ef746632fe15a9d80a95c16df16ee77 (patch)
tree06c683688b2b78d51a3a1e3cd8fbbe20c6a16951 /fml/lib
parenta08462cfed6f668e91c57b35065ed38d21a793d6 (diff)
downloadfml8-4bbd72571ef746632fe15a9d80a95c16df16ee77.tar.gz
fml8-4bbd72571ef746632fe15a9d80a95c16df16ee77.tar.bz2
fml8-4bbd72571ef746632fe15a9d80a95c16df16ee77.zip
ensure numeric value
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/Mail/Delivery/Utils.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/Mail/Delivery/Utils.pm b/fml/lib/Mail/Delivery/Utils.pm
index 1f7ba350..72598772 100644
--- a/fml/lib/Mail/Delivery/Utils.pm
+++ b/fml/lib/Mail/Delivery/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.18 2004/05/16 05:08:22 fukachan Exp $
+# $FML: Utils.pm,v 1.19 2004/05/17 11:55:44 fukachan Exp $
#
package Mail::Delivery::Utils;
@@ -403,7 +403,7 @@ sub rollback_map_position
my $map = $self->get_target_map;
# count the number of rollback to avoid infinite loop
- if ( $self->{ _map_rollback_info }->{ $map }->{ count } > 2 ) {
+ if (($self->{ _map_rollback_info }->{ $map }->{ count } || 0) > 2) {
Log("Error: not rollback $map to avoid infinite loop");
return ;
}