new file
[yaz-moved-to-github.git] / odr / odr_seq.c
index 191b97e..ab68a76 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * Copyright (c) 1995-2002, Index Data
+ * Copyright (c) 1995-2003, Index Data
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: odr_seq.c,v 1.28 2002-07-25 12:51:08 adam Exp $
+ * $Id: odr_seq.c,v 1.30 2003-03-11 11:03:31 adam Exp $
  */
 
 #if HAVE_CONFIG_H
@@ -121,7 +121,7 @@ static int odr_sequence_x (ODR o, Odr_fun type, void *p, int *num)
            }
            break;
        default:
-           o->error = OOTHER;
+            odr_seterror(o, OOTHER, 47);
            return 0;
     }
     return odr_sequence_end(o);