dovecot-2.1: imapc: Treat master_user="" the same as NULL.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 9 21:11:01 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/43aa5c4f0bfd
changeset: 13915:43aa5c4f0bfd
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 09 21:10:30 2012 +0200
description:
imapc: Treat master_user="" the same as NULL.

diffstat:

 src/lib-imap-client/imapc-client.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 32f61c8498a4 -r 43aa5c4f0bfd src/lib-imap-client/imapc-client.c
--- a/src/lib-imap-client/imapc-client.c	Mon Jan 09 20:53:51 2012 +0200
+++ b/src/lib-imap-client/imapc-client.c	Mon Jan 09 21:10:30 2012 +0200
@@ -49,7 +49,7 @@
 	client->set.debug = set->debug;
 	client->set.host = p_strdup(pool, set->host);
 	client->set.port = set->port;
-	client->set.master_user = p_strdup(pool, set->master_user);
+	client->set.master_user = p_strdup_empty(pool, set->master_user);
 	client->set.username = p_strdup(pool, set->username);
 	client->set.password = p_strdup(pool, set->password);
 	client->set.dns_client_socket_path =


More information about the dovecot-cvs mailing list