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
Fix for bug 371 "options concurrentOperations ignores concurrentOperations"
[yaz-moved-to-github.git]
/
src
/
odr_oct.c
diff --git
a/src/odr_oct.c
b/src/odr_oct.c
index
27b5927
..
8d3cc05
100644
(file)
--- a/
src/odr_oct.c
+++ b/
src/odr_oct.c
@@
-1,14
+1,17
@@
/*
/*
- * Copyright (c) 1995-2004, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* 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.8 2005-01-15 19:47:14 adam Exp $
+ */
+/**
+ * \file odr_oct.c
+ * \brief Implements ODR OCTET codec
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
-#include <yaz/log.h>
#include "odr-priv.h"
/*
#include "odr-priv.h"
/*
@@
-36,7
+39,7
@@
int odr_octetstring(ODR o, Odr_oct **p, int opt, const char *name)
odr_printf(o, "OCTETSTRING(len=%d) ", (*p)->len);
o->op->stream_write(o, o->print, ODR_OCTETSTRING,
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;
}
odr_printf(o, "\n");
return 1;
}