main.c, SETJMP compare value

This commit is contained in:
rlar 2011-07-02 20:10:30 +00:00
parent 3cbef0b647
commit 75c10da5b5
1 changed files with 2 additions and 2 deletions

View File

@ -1055,7 +1055,7 @@ main(int argc, char **argv)
ft_cpinit();
/* To catch interrupts during .spiceinit... */
if (SETJMP(jbuf, 1) == 1) {
if (SETJMP(jbuf, 1)) {
fprintf(cp_err, "Warning: error executing .spiceinit.\n");
if (!ft_batchmode)
goto bot;
@ -1118,7 +1118,7 @@ bot:
* build a circuit for this file. If this is in server mode, don't
* process any of these args. */
if (SETJMP(jbuf, 1) == 1)
if (SETJMP(jbuf, 1))
goto evl;
cp_interactive = FALSE;