ispman/bin ispman.setMailboxQuota,1.7,1.7.2.1

Pedro Algarvio <[email protected]> Sun, 08 Oct 2006 23:49:49 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7543/bin

Modified Files:
      Tag: dev_1_3-cyrus_virtdomain2
	ispman.setMailboxQuota 
Log Message:
Fixed a bug in mailbox_actions_cyrus.lib.
Now the ispman.setMailboxQuota quota arg is input in MB.


Index: ispman.setMailboxQuota
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.setMailboxQuota,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- ispman.setMailboxQuota	17 Sep 2006 19:48:50 -0000	1.7
+++ ispman.setMailboxQuota	8 Oct 2006 23:49:47 -0000	1.7.2.1
@@ -6,13 +6,13 @@
     use Getopt::Std;
     getopt( 'h', \%opts );
     unless ( $opts{'h'} ) {
-        print "Usage: $FindBin::Script  -h imap_server mailbox quota\n";
+        print "Usage: $FindBin::Script  -h imap_server mailbox quota(in MB)\n";
         exit;
     }
 }
 require "mailbox_actions.lib";
 
-my $err = set_quota( $opts{'h'}, $ARGV[0], $ARGV[1] );
+my $err = set_quota( $opts{'h'}, $ARGV[0], $ARGV[1]*1024 );
 
 exit $err;
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV