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
Version 5.9.0
[yaz-moved-to-github.git]
/
src
/
sortspec.c
diff --git
a/src/sortspec.c
b/src/sortspec.c
index
a016496
..
1eb3845
100644
(file)
--- a/
src/sortspec.c
+++ b/
src/sortspec.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-121,9
+121,7
@@
Z_SortKeySpecList *yaz_sort_spec(ODR out, const char *arg)
odr_malloc(out, sizeof(Odr_oct));
i++;
sks->u.missingValueData->len = strlen(sort_flags+i);
odr_malloc(out, sizeof(Odr_oct));
i++;
sks->u.missingValueData->len = strlen(sort_flags+i);
- sks->u.missingValueData->size = sks->u.missingValueData->len;
- sks->u.missingValueData->buf = (unsigned char*)
- odr_strdup(out, sort_flags+i);
+ sks->u.missingValueData->buf = odr_strdup(out, sort_flags+i);
i += strlen(sort_flags+i) - 1;
break;
}
i += strlen(sort_flags+i) - 1;
break;
}