mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 12:06:21 +00:00
Change autoping timeout default to 20 seconds
This commit is contained in:
@@ -547,7 +547,7 @@ gint
|
|||||||
prefs_get_autoping_timeout(void)
|
prefs_get_autoping_timeout(void)
|
||||||
{
|
{
|
||||||
if (!g_key_file_has_key(prefs, PREF_GROUP_CONNECTION, "autoping.timeout", NULL)) {
|
if (!g_key_file_has_key(prefs, PREF_GROUP_CONNECTION, "autoping.timeout", NULL)) {
|
||||||
return 10;
|
return 20;
|
||||||
} else {
|
} else {
|
||||||
return g_key_file_get_integer(prefs, PREF_GROUP_CONNECTION, "autoping.timeout", NULL);
|
return g_key_file_get_integer(prefs, PREF_GROUP_CONNECTION, "autoping.timeout", NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user