From 9f37333d02e4dc2a740869f62532cb37d7715559 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 20 Apr 1997 16:14:55 +0000 Subject: [PATCH] Fix possible ANSI violation. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1610 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appl/ftp/ftp/main.c b/appl/ftp/ftp/main.c index abef87bb7..e04722cf2 100644 --- a/appl/ftp/ftp/main.c +++ b/appl/ftp/ftp/main.c @@ -121,7 +121,10 @@ main(int argc, char **argv) xargv[4] = NULL; setpeer(argc+1, xargv); } - top = setjmp(toplevel) == 0; + if(setjmp(toplevel) == 0) + top = 1; + else + top = 0; if (top) { signal(SIGINT, intr); signal(SIGPIPE, lostpeer);