diff options
author | jan Iversen <jani@apache.org> | 2018-08-15 17:19:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-23 05:19:16 -0700 |
commit | 62672276d0457e8890aed57e4ca114e9daac16f2 (patch) | |
tree | f9abfdab852b8f67fb8ed15926c88c452c62e104 /core/pref.h | |
parent | fa62ffdbf018f32758e2828179f8f7f243a874a5 (diff) | |
download | subsurface-62672276d0457e8890aed57e4ca114e9daac16f2.tar.gz |
core: correct error in qPrefUpdateManager
make next_check (in qPrefUpdateManager) long instead of string
Correct test cases (compare time_t not strings)
Add test case to check time_t works as expected
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pref.h b/core/pref.h index d7a7432a4..a27c7d6c4 100644 --- a/core/pref.h +++ b/core/pref.h @@ -55,7 +55,7 @@ typedef struct { bool dont_check_for_updates; bool dont_check_exists; const char *last_version_used; - const char *next_check; + int next_check; } update_manager_prefs_t; typedef struct { |