X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fmarcdisp.c;h=b915f4f21040fbc2b14953f1ed77a71898de1b46;hp=9a33ebf8b12cb80f6091b586543733ce040f1622;hb=2d978ce2c9706142728e61af13294613b417ec44;hpb=5ea58e8014fef30e6e8217c911620d62e8eab6d9 diff --git a/util/marcdisp.c b/util/marcdisp.c index 9a33ebf..b915f4f 100644 --- a/util/marcdisp.c +++ b/util/marcdisp.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: marcdisp.c,v $ - * Revision 1.4 1995-09-29 17:12:34 quinn + * Revision 1.5 1997-05-01 15:08:15 adam + * Added log_mask_str_x routine. + * + * Revision 1.4 1995/09/29 17:12:34 quinn * Smallish * * Revision 1.3 1995/09/27 15:03:03 quinn @@ -51,6 +54,8 @@ int marc_display (const char *buf, FILE *outf) int length_starting; int length_implementation; + if (!outf) + outf = stdout; record_length = atoi_n (buf, 5); if (record_length < 25) return -1;