diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-12 20:40:40 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-12 20:40:40 +0100 |
commit | 4dd5a9c114fa5d0c8ef559bab84b51158d75ab93 (patch) | |
tree | ee6e02f25e06f4b6f531d871958698b8e7d29212 /monkey/dispatch.c | |
parent | aca826ef6915f38214a00d055ac6da1c712bd082 (diff) | |
download | netsurf-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.c | 4 |
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 */ |