From 1ecd72e99436765b112570a89e7fef34e040fb41 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Mar 2010 16:09:01 +0100 Subject: [PATCH] Fix print of record diagnostic --- src/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 0f9e220..d3e09ba 100644 --- a/src/client.c +++ b/src/client.c @@ -480,9 +480,11 @@ void client_record_response(struct client *cl) if (cl->session == 0) ; else if (ZOOM_record_error(rec, &msg, &addinfo, 0)) + { yaz_log(YLOG_WARN, "Record error %s (%s): %s (rec #%d)", - error, addinfo, client_get_url(cl), + msg, addinfo, client_get_url(cl), cl->record_offset); + } else { struct session_database *sdb = client_get_database(cl); -- 1.7.10.4