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:
8a6e1b3
)
yaz-client: ctrl-d print \n before exiting
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Jan 2010 08:22:47 +0000
(09:22 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Jan 2010 08:22:47 +0000
(09:22 +0100)
Some small things just matter much.
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
cb783b2
..
d7a0ec1
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-4965,7
+4965,10
@@
static void client(void)
{
line_in=readline(C_PROMPT);
if (!line_in)
+ {
+ putchar("\n");
break;
+ }
#if HAVE_READLINE_HISTORY_H
if (*line_in)
add_history(line_in);