X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr.c;h=e8668621b1c79281dfaa3ff7e14f0b33c94b5a72;hp=25fafb2632f391c277cb77943ad281bcfab82bc4;hb=473824797f568578dc17d7242551cb2f7ccef46c;hpb=833bf58328945361db8a744c0dec2c925c97d43a diff --git a/src/odr.c b/src/odr.c index 25fafb2..e866862 100644 --- a/src/odr.c +++ b/src/odr.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2013 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ @@ -135,15 +135,6 @@ void odr_FILE_write(ODR o, void *handle, int type, const char *buf, int len) { int i; -#if 0 - if (type == ODR_OCTETSTRING) - { - const char **stack_names = odr_get_element_path(o); - for (i = 0; stack_names[i]; i++) - fprintf((FILE*) handle, "[%s]", stack_names[i]); - fputs("\n", (FILE*) handle); - } -#endif for (i = 0; i < len; i++) { unsigned c = ((const unsigned char *) buf)[i];