* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_oct.c,v 1.4 2004-08-13 08:59:07 adam Exp $
+ * $Id: odr_oct.c,v 1.7 2004-11-18 15:18:13 heikki Exp $
+ */
+/**
+ * \file odr_oct.c
+ * \brief Implements ODR OCTET codec
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
-#include <yaz/log.h>
#include "odr-priv.h"
/*
odr_printf(o, "OCTETSTRING(len=%d) ", (*p)->len);
o->op->stream_write(o, o->print, ODR_OCTETSTRING,
- (*p)->buf, (*p)->len);
+ (char*) (*p)->buf, (*p)->len);
odr_printf(o, "\n");
return 1;
}