From 2d9edf9b1768b43e70717ecfe47fc021b877ee1b Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sun, 14 May 2017 22:31:10 -0400 Subject: Fix warnings and compilation on Linux --- calibrate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calibrate.c') diff --git a/calibrate.c b/calibrate.c index 9a43696..cc62914 100644 --- a/calibrate.c +++ b/calibrate.c @@ -188,7 +188,7 @@ void * SurviveThread(void *jnk) if( !ctx ) { fprintf( stderr, "Fatal. Could not start\n" ); - return 1; + exit( 1 ); } SurviveThreadLoaded=1; @@ -199,6 +199,7 @@ void * SurviveThread(void *jnk) } survive_close( ctx ); + return 0; } -- cgit v1.2.3