X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=cf0de2671e032a71f41558d30845a5e5891a6a78;hb=26fdcc5e41254131ef755b14243c19d202b14d8e;hp=79893e415765fb83ca0eefac1bb27e3915f43e20;hpb=49e9b34058467505c371057cb01425e877d6df02;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 79893e4..cf0de26 100644 --- a/client/client.c +++ b/client/client.c @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995-1998, Index Data. + * Copyright (c) 1995-1999, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: client.c,v $ - * Revision 1.74 1999-02-01 15:35:21 adam + * Revision 1.75 1999-02-01 15:37:32 adam + * Fixed minor bug introduced by previous commit. + * + * Revision 1.74 1999/02/01 15:35:21 adam * Added XML display. * * Revision 1.73 1998/10/20 13:55:43 quinn @@ -663,7 +666,7 @@ static void display_record(Z_DatabaseRecord *p) else if (r->which == Z_External_octet && p->u.octet_aligned->len) { const char *octet_buf = (char*)p->u.octet_aligned->buf; - if (ent->value == VAL_TEXT_XML || VAL_APPLICATION_XML) + if (ent->value == VAL_TEXT_XML || ent->value == VAL_APPLICATION_XML) { fwrite (octet_buf, 1, p->u.octet_aligned->len, stdout); printf ("\n");