23 Jan
2007
23 Jan
'07
2:39 p.m.
Hi,
I've noticed that in the maildir backend for the quota plugin the quota limit is being read in kilobytes. In the quota-maildir.c at maildir_quota_init() , line 550 (rc18)
if (strncmp(*args, "storage=", 8) == 0) { size = strtoull(*args + 8, NULL, 10) * 1024; if (size != 0) root->message_bytes_limit = size; root->master_message_limits = TRUE; }
The value that's being read from storage is supposed to be in kB, at least that's what I understand from the wiki, and then the value of size is stored in bytes.
thanks
giannis.