From c44b53d5d69b1aa73ca1561de1b83392527c7233 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 15 Jan 2014 14:41:57 +0100 Subject: [PATCH] zoomsh: empty command ignored YAZ-723 rather than performing exit of zoomsh. --- zoom/zoomsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index 7739301..607a6ff 100644 --- 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)) -- 1.7.10.4