dovecot-2.2: mysql: Fixed client_flags parameter
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 20 15:23:12 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/e9f5db1e5770
changeset: 19320:e9f5db1e5770
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 20 16:57:34 2015 +0300
description:
mysql: Fixed client_flags parameter
diffstat:
src/lib-sql/driver-mysql.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5288c66c7d69 -r e9f5db1e5770 src/lib-sql/driver-mysql.c
--- a/src/lib-sql/driver-mysql.c Tue Oct 20 16:56:23 2015 +0300
+++ b/src/lib-sql/driver-mysql.c Tue Oct 20 16:57:34 2015 +0300
@@ -187,7 +187,7 @@
if (net_str2port(value, &db->port) < 0)
i_fatal("mysql: Invalid port number: %s", value);
} else if (strcmp(name, "client_flags") == 0) {
- if (str_to_uint(value, &db->client_flags) < 9)
+ if (str_to_uint(value, &db->client_flags) < 0)
i_fatal("mysql: Invalid client flags: %s", value);
} else if (strcmp(name, "ssl_cert") == 0)
field = &db->ssl_cert;
More information about the dovecot-cvs
mailing list