dovecot-2.2: Earlier in_port_t fix was ineffective due to one sm...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 31 11:25:53 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/08b29b4b5e96
changeset: 19045:08b29b4b5e96
user: Stephan Bosch <stephan at rename-it.nl>
date: Mon Aug 31 14:24:54 2015 +0300
description:
Earlier in_port_t fix was ineffective due to one small detail.
The new SET_IN_PORT_ZERO did not actually use the new net_str2port_zero() function.
diffstat:
src/lib-settings/settings-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b5dfafc0b235 -r 08b29b4b5e96 src/lib-settings/settings-parser.c
--- a/src/lib-settings/settings-parser.c Mon Aug 31 13:33:26 2015 +0300
+++ b/src/lib-settings/settings-parser.c Mon Aug 31 14:24:54 2015 +0300
@@ -598,7 +598,7 @@
get_in_port_zero(struct setting_parser_context *ctx, const char *value,
in_port_t *result_r)
{
- if (net_str2port(value, result_r) < 0) {
+ if (net_str2port_zero(value, result_r) < 0) {
ctx->error = p_strdup_printf(ctx->parser_pool,
"Invalid port number %s", value);
return -1;
More information about the dovecot-cvs
mailing list