X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsolrtransform.c;h=7e545196b25ba9a1829ffa43ea3ffe47f6a562d5;hb=03dccce903176e61f889b1558834aa5a09f9f8c0;hp=d2732e52d6ceeb8fd0f9aeb80c4bf008dd713123;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/src/solrtransform.c b/src/solrtransform.c index d2732e5..7e54519 100644 --- a/src/solrtransform.c +++ b/src/solrtransform.c @@ -1,5 +1,5 @@ /* 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. */ /** @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include @@ -42,7 +41,7 @@ struct solr_transform_t_ { }; -/* TODO Utility functions, evt. split out int separate file */ +/* TODO Utility functions, split out into separate file */ int solr_strcmp(const char *s1, const char *s2) { return cql_strcmp(s1, s2); } @@ -71,7 +70,7 @@ void solr_buf_write_handler (const char *b, void *client_data) } -/* Utillity functions end */ +/* Utility functions end */ solr_transform_t solr_transform_create(void) { @@ -160,7 +159,7 @@ static int solr_transform_parse_tok_line(solr_transform_t ct, break; } value_str = yaz_tok_parse_string(tp); - if (isdigit(*value_str)) + if (yaz_isdigit(*value_str)) { elem->which = Z_AttributeValue_numeric; elem->value.numeric =