dovecot-2.2: lib-http: Host entries were added to hash table usi...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Dec 19 14:40:13 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/0c9a4af8eaf8
changeset: 15490:0c9a4af8eaf8
user: Timo Sirainen <tss at iki.fi>
date: Wed Dec 19 14:39:55 2012 +0200
description:
lib-http: Host entries were added to hash table using wrong hostname pointer.
diffstat:
src/lib-http/http-client-host.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4eebc8959849 -r 0c9a4af8eaf8 src/lib-http/http-client-host.c
--- a/src/lib-http/http-client-host.c Tue Dec 18 18:56:59 2012 +0200
+++ b/src/lib-http/http-client-host.c Wed Dec 19 14:39:55 2012 +0200
@@ -274,7 +274,7 @@
host->name = i_strdup(hostname);
i_array_init(&host->ports, 4);
- hash_table_insert(client->hosts, hostname, host);
+ hash_table_insert(client->hosts, host->name, host);
http_client_host_debug(host, "Host created");
}
More information about the dovecot-cvs
mailing list