[email protected] (Steven M. Schweda) writes: > logprintf (LOG_NOTQUIET, _("\ > %s: certificate common name %s doesn't match requested host name %s.\n"), > severity, quote (common_name), quote (host)); > > and I'm guessing that the fancy quote() function is insufficiently > fancy, and is using the same buffer for both invocations in that > statement, so the second name ("host: >alp-l<") appears in both places. > Should someone be auto-incrementing (modulo something) an "n" > somewhere?
Wget's escnonprint() did exactly that. Apparently quote() simply calls quote_n with the first argument 0.
