From: Chris Allegretta Date: Thu, 4 Jan 2001 05:08:37 +0000 (+0000) Subject: Make functions return themselves when do_browser() aborts X-Git-Tag: v0.9.25~19 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fe4158410211609440c8a5ee6a194cfb50a5929c;p=nano.git Make functions return themselves when do_browser() aborts git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index 372adde0..fcab7f88 100644 --- a/files.c +++ b/files.c @@ -279,6 +279,10 @@ int do_insertfile(void) free(realname); realname = tmp; } + else { + free(realname); + return do_insertfile(); + } } #endif @@ -529,6 +533,8 @@ int do_writeout(int exiting) free(answer); answer = tmp; } + else + return do_writeout(exiting); } #endif