From 342d9afa535d530e54c1124705fde9d594a29a76 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 6 Jan 2004 13:38:39 +0000 Subject: [PATCH] Report missin record data --- client/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/client.c b/client/client.c index 16f53c9..460503a 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.220 2004-01-06 09:09:13 adam Exp $ + * $Id: client.c,v 1.221 2004-01-06 13:38:39 adam Exp $ */ #include @@ -3289,10 +3289,10 @@ static void handle_srw_record(Z_SRW_record *rec) printf (" schema=%s", rec->recordSchema); printf ("\n"); if (rec->recordData_buf && rec->recordData_len) - { fwrite(rec->recordData_buf, 1, rec->recordData_len, stdout); - printf ("\n"); - } + else + printf ("No data!"); + printf("\n"); } static void handle_srw_explain_response(Z_SRW_explainResponse *res) -- 1.7.10.4