projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIN32 updates
[yaz-moved-to-github.git]
/
odr
/
odr_any.c
diff --git
a/odr/odr_any.c
b/odr/odr_any.c
index
aa5b08f
..
e464872
100644
(file)
--- a/
odr/odr_any.c
+++ b/
odr/odr_any.c
@@
-3,7
+3,7
@@
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_any.c,v 1.12 2003-01-06 08:20:27 adam Exp $
+ * $Id: odr_any.c,v 1.14 2003-05-20 19:55:30 adam Exp $
*/
#if HAVE_CONFIG_H
#include <config.h>
*/
#if HAVE_CONFIG_H
#include <config.h>
@@
-32,7
+32,5
@@
int odr_any(ODR o, Odr_any **p, int opt, const char *name)
if (ber_any(o, p))
return 1;
*p = 0;
if (ber_any(o, p))
return 1;
*p = 0;
- if (!opt)
- o->error = OREQUIRED;
- return opt;
-}
+ return odr_missing(o, opt, name);
+}