main.c, batchmode SETJMP wrapper
This commit is contained in:
parent
4d8e4cfc89
commit
f86d17ea5a
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue