aboutsummaryrefslogtreecommitdiffstats
path: root/backend.c
diff options
context:
space:
mode:
authorAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
committerAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
commit6c63633545c254dc085402e0f927a6826d1dd229 (patch)
tree0126fb5598304c713ea1276e294da9098b5df3b4 /backend.c
parentInitial revision (diff)
downloadw3m-6c63633545c254dc085402e0f927a6826d1dd229.tar.gz
w3m-6c63633545c254dc085402e0f927a6826d1dd229.zip
Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5
Diffstat (limited to '')
-rw-r--r--backend.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/backend.c b/backend.c
index 3befd72..d5847e7 100644
--- a/backend.c
+++ b/backend.c
@@ -203,7 +203,7 @@ static void post( TextList *argv ){
url = p;
}
if( url ){
- request = newFormList( NULL, "post", charset, enctype, target, NULL );
+ request = newFormList( NULL, "post", charset, enctype, target, NULL, NULL );
request->body = body;
request->boundary = boundary;
request->length = ( length > 0 )? length : ( body ? strlen(body) : 0 );
@@ -246,11 +246,10 @@ static void show( TextList *argv ){
/* Command: quit */
static void quit( TextList *argv ){
- deleteFiles();
#ifdef USE_COOKIE
save_cookies();
#endif /* USE_COOKIE */
- exit(0);
+ w3m_exit(0);
}
@@ -298,13 +297,10 @@ static void call_command_function( char *str ){
/* Main function */
int backend( void ){
char *str;
- extern int w3m_dump; /* Declared in main.c. */
- w3m_dump = FALSE;
- w3m_halfdump = FALSE;
+ w3m_dump = 0;
if (COLS == 0) COLS = 80;
#ifdef MOUSE
- mouse_end();
use_mouse = FALSE;
#endif /* MOUSE */