From a57c33c855c6757c8770529ee71f0f90744cd7a6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 12 Aug 2014 10:36:30 +0200 Subject: [PATCH] gpg: Make --with-colons work again for --search-keys. * g10/keyserver.c (search_line_handler): Replace log_debug by es_printf. --- g10/keyserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g10/keyserver.c b/g10/keyserver.c index ac70da96a..4249caf0a 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -836,7 +836,7 @@ show_prompt (ctrl_t ctrl, KEYDB_SEARCH_DESC *desc, int numdesc, KS_SEARCH command. If SPECIAL is 0, LINE is the actual data line received with all escaping removed and guaranteed to be exactly one line with stripped LF; an EOF is indicated by LINE passed as NULL. - If special is 1, the line conatins the source of the information + If special is 1, the line contains the source of the information (usually an URL). LINE may be modified after return. */ static gpg_error_t search_line_handler (void *opaque, int special, char *line) @@ -865,7 +865,7 @@ search_line_handler (void *opaque, int special, char *line) /* Print the received line. */ if (opt.with_colons && line) { - log_debug ("%s\n",line); + es_printf ("%s\n", line); } /* Look for an info: line. The only current info: values defined