X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-record-cache.c;h=b3ac730ee616ea885580e4d5614a3c5ec73d38f1;hb=0f073baf2183a54f2a5691e697fde68c9a5f50c5;hp=e90ef028b7bd06bfbe82bdcf89a009ed8b7860e4;hpb=74682526ffcdc625f5d8e7adec296b0d6d23a8b5;p=yaz-moved-to-github.git diff --git a/src/zoom-record-cache.c b/src/zoom-record-cache.c index e90ef02..b3ac730 100644 --- a/src/zoom-record-cache.c +++ b/src/zoom-record-cache.c @@ -6,6 +6,9 @@ * \file zoom-record-cache.c * \brief Implements ZOOM record caching */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -13,6 +16,7 @@ #include "zoom-p.h" #include +#include #include #if SHPTR @@ -232,7 +236,7 @@ ZOOM_API(const char *) rec->wrbuf = wrbuf_alloc(); wrbuf = rec->wrbuf; #endif - return ZOOM_npr_format(rec->npr, rec->schema, wrbuf, type_spec, len); + return yaz_record_render(rec->npr, rec->schema, wrbuf, type_spec, len); } ZOOM_API(int)