dovecot-2.2: hostpid_init() should die if hostname is invalid.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Feb 19 15:52:32 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/cce9a8ebb386
changeset: 15851:cce9a8ebb386
user: Timo Sirainen <tss at iki.fi>
date: Tue Feb 19 15:52:21 2013 +0200
description:
hostpid_init() should die if hostname is invalid.
This was accidentally changes during last commit.
diffstat:
src/lib/hostpid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d40e3bf2de89 -r cce9a8ebb386 src/lib/hostpid.c
--- a/src/lib/hostpid.c Tue Feb 19 13:43:42 2013 +0200
+++ b/src/lib/hostpid.c Tue Feb 19 15:52:21 2013 +0200
@@ -35,7 +35,7 @@
if (value[0] == '\0' ||
strcspn(value, HOSTNAME_DISALLOWED_CHARS) != strlen(value))
- i_error("Invalid system hostname: '%s'", value);
+ i_fatal("Invalid system hostname: '%s'", value);
my_hostname_dup = i_strdup(value);
my_hostname = my_hostname_dup;
More information about the dovecot-cvs
mailing list