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
This commit is contained in:
Chris Allegretta 2001-01-04 05:08:37 +00:00
parent 0e9d3c6c28
commit fe41584102
1 changed files with 6 additions and 0 deletions

View File

@ -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