{
gstring * g = sc->interface
? string_fmt_append(NULL, " from %s", sc->interface)
- : string_get(10);
+ : string_get(20);
#ifdef SUPPORT_SOCKS
- if (ob->socks_proxy) g = string_catn(g, US"via proxy", 9);
+ if (ob->socks_proxy) g = string_cat(g, US" (proxy option set)");
#endif
debug_printf_indent("Connecting to %s %s%Y ...\n",
sc->host->name, callout_address, g);
if (!timeout) timeout = 24*60*60; /* use 1 day for "indefinite" */
tmo = time(NULL) + timeout;
-GET_OPTION("socks_proxy");
-if (!(proxy_list = expand_string(ob->socks_proxy)))
- {
- log_write(0, LOG_MAIN|LOG_PANIC, "Bad expansion for socks_proxy in %s",
- tb->drinst.name);
- return -1;
- }
-
/* Read proxy list */
for (nproxies = 0;