projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9a7cdcf
)
Fixed check for non-empty record syntax list
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 9 Nov 2005 17:47:50 +0000
(17:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 9 Nov 2005 17:47:50 +0000
(17:47 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
782921c
..
0feec98
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.299 2005-11-02 11:54:40 adam Exp $
+ * $Id: client.c,v 1.300 2005-11-09 17:47:50 adam Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-1530,7
+1530,7
@@
static int send_searchRequest(const char *arg)
if (smallSetUpperBound > 0 || (largeSetLowerBound > 1 &&
mediumSetPresentNumber > 0))
{
if (smallSetUpperBound > 0 || (largeSetLowerBound > 1 &&
mediumSetPresentNumber > 0))
{
- if (recordsyntax_list > 0)
+ if (recordsyntax_size > 0)
req->preferredRecordSyntax =
yaz_oidval_to_z3950oid(out, CLASS_RECSYN, recordsyntax_list[0]);
req->smallSetElementSetNames =
req->preferredRecordSyntax =
yaz_oidval_to_z3950oid(out, CLASS_RECSYN, recordsyntax_list[0]);
req->smallSetElementSetNames =