dovecot-2.2: lib-http: Compile fix for previous change.

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 19 23:34:36 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/cd093d05037e
changeset: 15492:cd093d05037e
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 19 23:34:21 2012 +0200
description:
lib-http: Compile fix for previous change.

diffstat:

 src/lib-http/http-client-host.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r a1b814081f0c -r cd093d05037e src/lib-http/http-client-host.c
--- a/src/lib-http/http-client-host.c	Wed Dec 19 14:41:01 2012 +0200
+++ b/src/lib-http/http-client-host.c	Wed Dec 19 23:34:21 2012 +0200
@@ -274,7 +274,8 @@
 		host->name = i_strdup(hostname);
 		i_array_init(&host->ports, 4);
 
-		hash_table_insert(client->hosts, host->name, host);
+		hostname = host->name;
+		hash_table_insert(client->hosts, hostname, host);
 
 		http_client_host_debug(host, "Host created");
 	}


More information about the dovecot-cvs mailing list