SVN: toys/rsget.pl/RSGet/Quota.pm

sparky sparky at pld-linux.org
Mon Dec 6 14:52:34 CET 2010


Author: sparky
Date: Mon Dec  6 14:52:34 2010
New Revision: 11960

Modified:
   toys/rsget.pl/RSGet/Quota.pm
Log:
- typos


Modified: toys/rsget.pl/RSGet/Quota.pm
==============================================================================
--- toys/rsget.pl/RSGet/Quota.pm	(original)
+++ toys/rsget.pl/RSGet/Quota.pm	Mon Dec  6 14:52:34 2010
@@ -12,12 +12,12 @@
 
 def_settings(
 	quota_soft => {
-		desc => "Start downloads only if ammount of downloaded data is less "
+		desc => "Start downloads only if amount of downloaded data is less "
 			. "than quota_soft bytes.",
 		allowed => qr/\d+[gmk]?b?/i,
 	},
 	quota_hard => {
-		desc => "Don't start downloads if they may excede quota_hard bytes.",
+		desc => "Don't start downloads if they may exceed quota_hard bytes.",
 		allowed => qr/\d+[gmk]?b?/i,
 	},
 );
@@ -34,7 +34,9 @@
 	my $s = setting( $name );
 	return undef unless $s;
 
-	return RSGet::ListManager::size_to_range( $s )->[0];
+	my $size = RSGet::ListManager::size_to_range( $s )->[0];
+	new RSGet::Line( "INIT: ", "Setting $name to $size" );
+	return $size;
 }
 
 sub _init


More information about the pld-cvs-commit mailing list