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
Fixed update command so that record ID = none means none.
[yaz-moved-to-github.git]
/
src
/
sortspec.c
diff --git
a/src/sortspec.c
b/src/sortspec.c
index
f9a4bc3
..
3ca7e03
100644
(file)
--- a/
src/sortspec.c
+++ b/
src/sortspec.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (C) 1995-2006, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: sortspec.c,v 1.6 2006-05-30 21:39:15 adam Exp $
+ * $Id: sortspec.c,v 1.8 2007-01-03 08:42:15 adam Exp $
*/
/**
* \file sortspec.c
*/
/**
* \file sortspec.c
@@
-120,7
+120,8
@@
Z_SortKeySpecList *yaz_sort_spec (ODR out, const char *arg)
i++;
sks->u.missingValueData->len = strlen(sort_flags+i);
sks->u.missingValueData->size = sks->u.missingValueData->len;
i++;
sks->u.missingValueData->len = strlen(sort_flags+i);
sks->u.missingValueData->size = sks->u.missingValueData->len;
- sks->u.missingValueData->buf = odr_strdup(out, sort_flags+i);
+ sks->u.missingValueData->buf = (unsigned char*)
+ odr_strdup(out, sort_flags+i);
i += strlen(sort_flags+i);
}
}
i += strlen(sort_flags+i);
}
}