From: Adam Dickmeiss Date: Tue, 6 Jan 2004 13:38:39 +0000 (+0000) Subject: Report missin record data X-Git-Tag: YAZ.2.0.9.3~1 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=342d9afa535d530e54c1124705fde9d594a29a76;hp=c39e347facce3cd8c3186f22ab14933119f8ae08 Report missin record data --- 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)