X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=scp.c;h=bde4cdad76b15c3dadb0b491e2b8fa673214ab42;hb=368244dbaeada6cba9c158bf15202badd962575f;hp=34f6ffb5bdff2d9ac805b54084b416e8fb24463d;hpb=fdbd6978016e9fd87db7b3bfc33ff0da8bd3eea9;p=PuTTY.git diff --git a/scp.c b/scp.c index 34f6ffb5..bde4cdad 100644 --- a/scp.c +++ b/scp.c @@ -210,7 +210,7 @@ void fatalbox(char *fmt, ...) 0 /*lParam */ ))SleepEx(1000, TRUE); } - exit(1); + cleanup_exit(1); } void connection_fatal(char *fmt, ...) { @@ -233,7 +233,7 @@ void connection_fatal(char *fmt, ...) 0 /*lParam */ ))SleepEx(1000, TRUE); } - exit(1); + cleanup_exit(1); } /* @@ -404,7 +404,7 @@ static void bump(char *fmt, ...) 0 /*lParam */ ))SleepEx(1000, TRUE); } - exit(1); + cleanup_exit(1); } /* @@ -2055,7 +2055,7 @@ static void usage(void) printf (" -gui hWnd GUI mode with the windows handle for receiving messages\n"); #endif - exit(1); + cleanup_exit(1); } /*