summaryrefslogtreecommitdiff
path: root/bin/bbstoreaccounts/bbstoreaccounts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbstoreaccounts/bbstoreaccounts.cpp')
-rw-r--r--bin/bbstoreaccounts/bbstoreaccounts.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/bbstoreaccounts/bbstoreaccounts.cpp b/bin/bbstoreaccounts/bbstoreaccounts.cpp
index 652b1d5a..f2e3df95 100644
--- a/bin/bbstoreaccounts/bbstoreaccounts.cpp
+++ b/bin/bbstoreaccounts/bbstoreaccounts.cpp
@@ -177,8 +177,9 @@ int main(int argc, const char *argv[])
}
// Decode limits
- softlimit = control.SizeStringToBlocks(argv[3], discnum);
- hardlimit = control.SizeStringToBlocks(argv[4], discnum);
+ int blocksize = control.BlockSizeOfDiscSet(discnum);
+ softlimit = control.SizeStringToBlocks(argv[3], blocksize);
+ hardlimit = control.SizeStringToBlocks(argv[4], blocksize);
control.CheckSoftHardLimits(softlimit, hardlimit);
// Create the account...