if (pos) {
pos[0] = 0;
}
- list = yaz_use_atttribute_create(o, name);
+ list = yaz_use_attribute_create(o, name);
for (node = ptr->children; node; node = node->next) {
num_terms++;
}
void yaz_add_name_value_int(ODR o, char **name, char **value, int *i,
char *a_name, Odr_int *val);
-Z_AttributeList *yaz_use_atttribute_create(ODR o, const char *name);
+Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name);
#if YAZ_HAVE_XML2
#include <libxml/parser.h>
const char* name = yaz_element_attribute_value_get(ptr, "facet", "code");
yaz_log(YLOG_DEBUG, "sru-proxy facet type: %s", name);
- list = yaz_use_atttribute_create(odr, name);
+ list = yaz_use_attribute_create(odr, name);
for (node = ptr->children; node; node = node->next) {
if (match_element(node, "facetvalue"))
num_terms++;
return dst;
}
-Z_AttributeList *yaz_use_atttribute_create(ODR o, const char *name) {
+Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name) {
Z_AttributeList *attributes= (Z_AttributeList *) odr_malloc(o, sizeof(*attributes));
Z_AttributeElement ** elements;
attributes->num_attributes = 1;