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:
d1b8a1c
)
zoomsh: empty command ignored YAZ-723
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 15 Jan 2014 13:41:57 +0000
(14:41 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 15 Jan 2014 13:41:57 +0000
(14:41 +0100)
rather than performing exit of zoomsh.
zoom/zoomsh.c
patch
|
blob
|
history
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
7739301
..
607a6ff
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-752,7
+752,7
@@
static int cmd_parse(ZOOM_connection *c, ZOOM_resultset *r,
cmd_len = next_token(buf, &cmd_str);
if (cmd_len < 0)
- return -1;
+ return 0;
if (is_command("quit", cmd_str, cmd_len))
return -1;
else if (is_command("set", cmd_str, cmd_len))