[dovecot-cvs] dovecot/src/lib-dict dict.c,1.7,1.8
cras at dovecot.org
cras at dovecot.org
Sun Jul 30 21:03:21 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-dict.c, 1.13, 1.14 quota-dirsize.c, 1.12, 1.13 quota-fs.c, 1.18, 1.19 quota-maildir.c, 1.12, 1.13 quota-plugin.c, 1.3, 1.4 quota-private.h, 1.10, 1.11 quota-storage.c, 1.10, 1.11 quota.c, 1.11, 1.12 quota.h, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/lib-dict dict-private.h, 1.4, 1.5 dict-sql.c, 1.10, 1.11 dict.c, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv24218
Modified Files:
dict.c
Log Message:
dict_atomic_inc(): Do nothing if diff parameter is 0.
Index: dict.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dict.c 28 Jun 2006 13:10:34 -0000 1.7
+++ dict.c 30 Jul 2006 18:03:18 -0000 1.8
@@ -130,5 +130,6 @@
void dict_atomic_inc(struct dict_transaction_context *ctx,
const char *key, long long diff)
{
- ctx->dict->v.atomic_inc(ctx, key, diff);
+ if (diff != 0)
+ ctx->dict->v.atomic_inc(ctx, key, diff);
}
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-dict.c, 1.13, 1.14 quota-dirsize.c, 1.12, 1.13 quota-fs.c, 1.18, 1.19 quota-maildir.c, 1.12, 1.13 quota-plugin.c, 1.3, 1.4 quota-private.h, 1.10, 1.11 quota-storage.c, 1.10, 1.11 quota.c, 1.11, 1.12 quota.h, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/lib-dict dict-private.h, 1.4, 1.5 dict-sql.c, 1.10, 1.11 dict.c, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list