mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Correctly pass pointers to hash_table_get_pair.
This commit is contained in:
parent
5feb3f6696
commit
c17e1b6396
@ -1,3 +1,8 @@
|
|||||||
|
2005-05-10 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* res.c (res_register_specs): Correctly pass pointers to
|
||||||
|
hash_table_get_pair.
|
||||||
|
|
||||||
2005-05-10 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-05-10 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* http.c (gethttp): Call ssl_check_server_identity.
|
* http.c (gethttp): Call ssl_check_server_identity.
|
||||||
|
@ -501,11 +501,7 @@ res_register_specs (const char *host, int port, struct robot_specs *specs)
|
|||||||
if (!registered_specs)
|
if (!registered_specs)
|
||||||
registered_specs = make_nocase_string_hash_table (0);
|
registered_specs = make_nocase_string_hash_table (0);
|
||||||
|
|
||||||
/* Required to shut up the compiler. */
|
if (hash_table_get_pair (registered_specs, hp, &hp_old, &old))
|
||||||
old = NULL;
|
|
||||||
hp_old = NULL;
|
|
||||||
|
|
||||||
if (hash_table_get_pair (registered_specs, hp, hp_old, old))
|
|
||||||
{
|
{
|
||||||
if (old)
|
if (old)
|
||||||
free_specs (old);
|
free_specs (old);
|
||||||
|
Loading…
Reference in New Issue
Block a user