Don't over-write previous status_check value
authoraland <aland>
Fri, 20 Jun 2008 13:17:19 +0000 (13:17 +0000)
committeraland <aland>
Fri, 20 Jun 2008 13:17:19 +0000 (13:17 +0000)
src/main/realms.c

index f6d5017..e8c4d7b 100644 (file)
@@ -286,7 +286,7 @@ static CONF_PARSER home_server_config[] = {
        { "status_check", PW_TYPE_STRING_PTR,
          0, &hs_check,   "none" },
        { "ping_check", PW_TYPE_STRING_PTR,
-         0, &hs_check,   "none" },
+         0, &hs_check,   NULL },
 
        { "ping_interval", PW_TYPE_INTEGER,
          offsetof(home_server,ping_interval), NULL,   "30" },