[dovecot-cvs] dovecot/src/lib-dict dict-client.c,1.6,1.7
cras at dovecot.org
cras at dovecot.org
Tue Feb 7 10:01:18 EET 2006
- Previous message: [dovecot-cvs] dovecot/src/master .cvsignore, 1.2, 1.3 Makefile.am,
1.18, 1.19 common.h, 1.25, 1.26 main.c, 1.76,
1.77 ssl-init-main.c, NONE, 1.1 ssl-init.c, 1.24,
1.25 ssl-init.h, 1.4, 1.5
- Next message: [dovecot-cvs] dovecot/src/lib module-dir.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv3455
Modified Files:
dict-client.c
Log Message:
LF wasn't sent at the end of all commands.
Index: dict-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict-client.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dict-client.c 31 Jan 2006 06:05:22 -0000 1.6
+++ dict-client.c 7 Feb 2006 08:01:15 -0000 1.7
@@ -392,7 +392,7 @@
ret = -1;
else {
t_push();
- query = t_strdup_printf("%c%u", !ctx->failed ?
+ query = t_strdup_printf("%c%u\n", !ctx->failed ?
DICT_PROTOCOL_CMD_COMMIT :
DICT_PROTOCOL_CMD_ROLLBACK,
ctx->id);
@@ -425,7 +425,7 @@
if (ctx->connect_counter == dict->connect_counter) {
t_push();
- query = t_strdup_printf("%c%u", DICT_PROTOCOL_CMD_ROLLBACK,
+ query = t_strdup_printf("%c%u\n", DICT_PROTOCOL_CMD_ROLLBACK,
ctx->id);
(void)client_dict_send_query(dict, query);
t_pop();
@@ -445,7 +445,8 @@
return;
t_push();
- query = t_strdup_printf("%c%u\t%s\t%s", DICT_PROTOCOL_CMD_SET, ctx->id,
+ query = t_strdup_printf("%c%u\t%s\t%s\n",
+ DICT_PROTOCOL_CMD_SET, ctx->id,
dict_client_escape(key),
dict_client_escape(value));
if (client_dict_send_query(dict, query) < 0)
@@ -454,7 +455,7 @@
}
static void client_dict_atomic_inc(struct dict_transaction_context *_ctx,
- const char *key, long long diff)
+ const char *key, long long diff)
{
struct client_dict_transaction_context *ctx =
(struct client_dict_transaction_context *)_ctx;
@@ -465,7 +466,8 @@
return;
t_push();
- query = t_strdup_printf("%c%u\t%s\t%lld", DICT_PROTOCOL_CMD_ATOMIC_INC,
+ query = t_strdup_printf("%c%u\t%s\t%lld\n",
+ DICT_PROTOCOL_CMD_ATOMIC_INC,
ctx->id, dict_client_escape(key), diff);
if (client_dict_send_query(dict, query) < 0)
ctx->failed = TRUE;
- Previous message: [dovecot-cvs] dovecot/src/master .cvsignore, 1.2, 1.3 Makefile.am,
1.18, 1.19 common.h, 1.25, 1.26 main.c, 1.76,
1.77 ssl-init-main.c, NONE, 1.1 ssl-init.c, 1.24,
1.25 ssl-init.h, 1.4, 1.5
- Next message: [dovecot-cvs] dovecot/src/lib module-dir.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list