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
Allow http://user:pass@host notation for yaz_url_exec
[yaz-moved-to-github.git]
/
src
/
sortspec.c
diff --git
a/src/sortspec.c
b/src/sortspec.c
index
990c9a4
..
7e0f7fc
100644
(file)
--- a/
src/sortspec.c
+++ b/
src/sortspec.c
@@
-123,7
+123,7
@@
Z_SortKeySpecList *yaz_sort_spec(ODR out, const char *arg)
sks->u.missingValueData->size = sks->u.missingValueData->len;
sks->u.missingValueData->buf = (unsigned char*)
odr_strdup(out, sort_flags+i);
- i += strlen(sort_flags+i);
+ i += strlen(sort_flags+i) - 1;
}
}
}