summaryrefslogtreecommitdiff
path: root/monkey/dispatch.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-12 20:40:40 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-12 20:40:40 +0100
commit4dd5a9c114fa5d0c8ef559bab84b51158d75ab93 (patch)
treeee6e02f25e06f4b6f531d871958698b8e7d29212 /monkey/dispatch.c
parentaca826ef6915f38214a00d055ac6da1c712bd082 (diff)
downloadnetsurf-4dd5a9c114fa5d0c8ef559bab84b51158d75ab93.tar.gz
netsurf-4dd5a9c114fa5d0c8ef559bab84b51158d75ab93.tar.bz2
set defaults for cookie and url database
Diffstat (limited to 'monkey/dispatch.c')
-rw-r--r--monkey/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monkey/dispatch.c b/monkey/dispatch.c
index ba15fbd13..4329ca100 100644
--- a/monkey/dispatch.c
+++ b/monkey/dispatch.c
@@ -58,8 +58,8 @@ monkey_process_command(void)
char **nargv;
if (fgets(buffer, PATH_MAX, stdin) == NULL) {
- netsurf_quit = true;
- return;
+ /* end of input or read error so issue QUIT */
+ sprintf(buffer, "QUIT\n");
}
/* remove newline */