WS updates. No code changes
[yaz-moved-to-github.git] / src / odr_oid.c
index 056395c..5b579cc 100644 (file)
@@ -1,9 +1,12 @@
 /*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: odr_oid.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_oid.c,v 1.6 2005-05-26 21:46:40 adam Exp $
+ */
+/**
+ * \file odr_oid.c
+ * \brief Implements ODR OID codec
  */
 #if HAVE_CONFIG_H
 #include <config.h>
@@ -49,5 +52,5 @@ int odr_oid(ODR o, Odr_oid **p, int opt, const char *name)
     }
     if (o->direction == ODR_DECODE)
        *p = (int *)odr_malloc(o, OID_SIZE * sizeof(**p));
-    return ber_oidc(o, *p);
+    return ber_oidc(o, *p, OID_SIZE);
 }