[dovecot-cvs] dovecot/src/plugins/quota quota-dict.c,1.15,1.16
tss-movial at dovecot.org
tss-movial at dovecot.org
Sun Jul 30 21:49:41 EEST 2006
Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv14402/plugins/quota
Modified Files:
quota-dict.c
Log Message:
Dictionary changes: Added support for defining value's type. Key is still always a string. Added support for sorting the iteration replies. Added dict_unset(). Added Berkeley DB support. Most of the code written by Tianyan Liu.
Index: quota-dict.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-dict.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- quota-dict.c 30 Jul 2006 18:35:47 -0000 1.15
+++ quota-dict.c 30 Jul 2006 18:49:39 -0000 1.16
@@ -46,7 +46,9 @@
if (getenv("DEBUG") != NULL)
i_info("dict quota: user = %s, uri = %s", username, args);
- root->dict = dict_init(args, username);
+ /* FIXME: we should use 64bit integer as datatype instead but before
+ it can actually be used don't bother */
+ root->dict = dict_init(args, DICT_DATA_TYPE_STRING, username);
return root->dict != NULL ? 0 : -1;
}
More information about the dovecot-cvs
mailing list