shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
+#define USE_GNULIB_ALLOC
+
#include "wget.h"
#include <stdio.h>
{
/* #### We should be able to print the error message here. */
logprintf (LOG_NOTQUIET,
- _("%s: unable to resolve bind address `%s'; disabling bind.\n"),
- exec_name, opt.bind_address);
+ _("%s: unable to resolve bind address %s; disabling bind.\n"),
+ exec_name, quote (opt.bind_address));
should_bind = false;
return false;
}
if (!al)
{
logprintf (LOG_NOTQUIET,
- _("%s: unable to resolve host address `%s'\n"),
- exec_name, host);
+ _("%s: unable to resolve host address %s\n"),
+ exec_name, quote (host));
return E_HOST;
}
hash key. */
assert (fd >= 0);
- info = xnew (struct transport_info);
+ info = xmalloc (sizeof (struct transport_info));
info->imp = imp;
info->ctx = ctx;
if (!transport_map)
if (info)
{
hash_table_remove (transport_map, (void *)(intptr_t) fd);
- xfree (info);
+ free (info);
++transport_map_modified_tick;
}
}