From 75c10da5b516eef53fd8810fc9d3bcd660ae4eb6 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 2 Jul 2011 20:10:30 +0000 Subject: [PATCH] main.c, SETJMP compare value --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 5e3181706..790ccad23 100644 --- a/src/main.c +++ b/src/main.c @@ -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;