-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
- *
- * $Id: ber_tag.c,v 1.7 2007-01-03 08:42:15 adam Exp $
*/
/**
if (o->direction == ODR_DECODE)
*pp = 0;
- o->t_class = -1;
+ o->op->t_class = -1;
if (ODR_STACK_EMPTY(o))
{
odr_seek(o, ODR_S_SET, 0);