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:
4b46dbf
)
Fix interpretation of sru command
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Aug 2006 13:30:00 +0000
(13:30 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Aug 2006 13:30:00 +0000
(13:30 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
a2d1116
..
5492b84
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.311 2006-07-06 10:17:51 adam Exp $
+ * $Id: client.c,v 1.312 2006-08-15 13:30:00 adam Exp $
*/
/** \file client.c
* \brief yaz-client program
*/
/** \file client.c
* \brief yaz-client program
@@
-2425,11
+2425,11
@@
static int cmd_sru(const char *arg)
}
else
{
}
else
{
- if (yaz_matchstr(arg, "post"))
+ if (!yaz_matchstr(arg, "post"))
sru_method = "post";
sru_method = "post";
- else if (yaz_matchstr(arg, "get"))
+ else if (!yaz_matchstr(arg, "get"))
sru_method = "get";
sru_method = "get";
- else if (yaz_matchstr(arg, "soap"))
+ else if (!yaz_matchstr(arg, "soap"))
sru_method = "soap";
else
{
sru_method = "soap";
else
{