diff --git a/src/connect.c b/src/connect.c index 2626ef32..1e8f07e5 100644 --- a/src/connect.c +++ b/src/connect.c @@ -268,7 +268,7 @@ connect_to_ip (const ip_address *ip, int port, const char *print) const char *txt_addr = print_address (ip); if (print && 0 != strcmp (print, txt_addr)) logprintf (LOG_VERBOSE, _("Connecting to %s|%s|:%d... "), - escnonprint (print), txt_addr, port); + escnonprint_uri (print), txt_addr, port); else logprintf (LOG_VERBOSE, _("Connecting to %s:%d... "), txt_addr, port); }