Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
authorDennis Schafroth <dennis@indexdata.com>
Mon, 10 May 2010 08:15:38 +0000 (10:15 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 10 May 2010 08:15:38 +0000 (10:15 +0200)
1  2 
src/zoom-c.c

diff --cc src/zoom-c.c
@@@ -1806,9 -1873,12 +1873,13 @@@ ZOOM_API(ZOOM_record
      buf = odr_getbuf(odr_enc, &size, 0);
      
      nrec = (ZOOM_record) xmalloc(sizeof(*nrec));
 +    yaz_log(log_details, "ZOOM_record create");
      nrec->odr = odr_createmem(ODR_DECODE);
+ #if SHPTR
+     nrec->record_wrbuf = 0;
+ #else
      nrec->wrbuf = 0;
+ #endif
  #if YAZ_HAVE_XML2
      nrec->xml_mem = 0;
      nrec->xml_size = 0;