aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-27 00:49:47 +0200
committerTeddy Wing2018-10-27 00:49:47 +0200
commit6ceb56fac5dcabc02db6ebb373073593ddec9a33 (patch)
tree2bcef9534a563627535a2f5f153f8e51fe859c4d
parenta65f955febfc4fde1328339483f59164b0bd67c2 (diff)
downloadDomeKey-6ceb56fac5dcabc02db6ebb373073593ddec9a33.tar.bz2
LicenseHandler: Run trial initialiser when license validation fails
-rw-r--r--DomeKey/LicenseHandler.h1
-rw-r--r--DomeKey/LicenseHandler.m5
2 files changed, 3 insertions, 3 deletions
diff --git a/DomeKey/LicenseHandler.h b/DomeKey/LicenseHandler.h
index 90d308e..7056d41 100644
--- a/DomeKey/LicenseHandler.h
+++ b/DomeKey/LicenseHandler.h
@@ -11,6 +11,7 @@
#import "AquaticPrime.h"
#import "XDG.h"
+#import "dome_key_map.h"
#import "errors.h"
@interface LicenseHandler : NSObject
diff --git a/DomeKey/LicenseHandler.m b/DomeKey/LicenseHandler.m
index ff63ed0..da6d29f 100644
--- a/DomeKey/LicenseHandler.m
+++ b/DomeKey/LicenseHandler.m
@@ -18,12 +18,11 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist";
if (![self validateLicense]) {
[self printInvalidLicenseMessage];
- // TODO: then do trial
+ do_trial();
}
}
else {
- // run do_trial();
- printf("TODO: do trial\n");
+ do_trial();
}
}