summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimeon Simeonov2018-04-15 21:58:06 +0200
committerSimeon Simeonov2018-04-15 21:58:06 +0200
commit7f2064ed526db2e54b3ebde04e58beaffbb397ed (patch)
tree5aac51841b582d89489c37e6b2a303840e7cfb87 /src/main.c
parenta651d4876f775a2b00f88df49ead47557c6cc18e (diff)
Finish master password unload issue. Fix an old bug reintroduced by the magic of copy & paste
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 7c37e96..97a4bd0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -426,9 +426,6 @@ int main(int argc, char *argv[])
426 if (prefs_common.auto_unload_master_password && master_password_active()) { 426 if (prefs_common.auto_unload_master_password && master_password_active()) {
427 debug_print("Auto unloading master password\n"); 427 debug_print("Auto unloading master password\n");
428 unload_master_password(); 428 unload_master_password();
429 /* call this function every 10th minute in case a reload took place */
430 /* TODO: Perhaps a more elegant solution could be developed */
431 g_timeout_add(1000 * 60 * 10, unload_master_password, NULL);
432 } 429 }
433#endif 430#endif
434 431