main.c, batchmode SETJMP wrapper

This commit is contained in:
rlar 2011-07-02 20:12:25 +00:00
parent 4d8e4cfc89
commit f86d17ea5a
1 changed files with 1 additions and 5 deletions

View File

@ -1256,16 +1256,12 @@ bot:
evl: evl:
if (ft_batchmode) { if (ft_batchmode) {
bool st = FALSE;
(void) SETJMP(jbuf, 1);
/* If we get back here in batch mode then something is wrong, /* If we get back here in batch mode then something is wrong,
* so exit. */ * so exit. */
if (st == TRUE) if (SETJMP(jbuf, 1))
sp_shutdown(EXIT_BAD); sp_shutdown(EXIT_BAD);
st = TRUE;
if (ft_servermode) { if (ft_servermode) {
if (ft_curckt == NULL) { if (ft_curckt == NULL) {