aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index c94bd0d..218f5c1 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -116,6 +116,9 @@ int survive_cal_get_status( struct SurviveContext * ctx, char * description, int
void survive_cal_install( struct SurviveContext * ctx )
{
+ if (ctx->calptr)
+ return;
+
int i;
struct SurviveCalData * cd = ctx->calptr = calloc( 1, sizeof( struct SurviveCalData ) );