/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
/**
(*attrp)->next = 0;
(*attrp)->set = attr->set ? xstrdup(attr->set) : 0;
(*attrp)->type = attr->type;
+ (*attrp)->kind = attr->kind;
if (attr->kind == CCL_RPN_ATTR_NUMERIC)
(*attrp)->value.numeric = attr->value.numeric;
else if (attr->kind == CCL_RPN_ATTR_STRING)