Fix sample PQF
[yaz-moved-to-github.git] / odr / odr_util.c
index c8b35b8..5da4088 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 1995-2003, Index Data
  * See the file LICENSE for details.
  *
- * $Id: odr_util.c,v 1.24 2003-05-20 20:21:34 adam Exp $
+ * $Id: odr_util.c,v 1.25 2003-05-24 19:20:14 adam Exp $
  */
 #if HAVE_CONFIG_H
 #include <config.h>
@@ -88,7 +88,7 @@ int odr_missing(ODR o, int opt, const char *name)
     if (!opt)
     {
         odr_seterror(o, OREQUIRED, 53);
-        odr_setaddinfo(o, name);
+        odr_setelement(o, name);
     }
     return opt;
 }