250 |
|
|
251 |
case IDOK: |
case IDOK: |
252 |
rc = GetDlgItemInt (dlg, IDC_PREFS_CACHETIME, NULL, FALSE); |
rc = GetDlgItemInt (dlg, IDC_PREFS_CACHETIME, NULL, FALSE); |
253 |
if (rc <= 0) |
if (rc <= 0) { |
254 |
reg_prefs.cache_time = 0; |
reg_prefs.cache_time = 0; |
255 |
|
agent_flush_cache (); |
256 |
|
} |
257 |
else if (rc > 720) { |
else if (rc > 720) { |
258 |
msg_box( dlg, _("Please enter a value that is between 1-720.\nIt is not " |
msg_box( dlg, _("Please enter a value that is between 1-720.\nIt is not " |
259 |
"a good idea to cache the passphrase more than 12 hours."), |
"a good idea to cache the passphrase more than 12 hours."), |