set a default priority string if not set.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-01-31 22:40:45 +01:00
parent 9b9f8daead
commit a923a8a29a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -182,6 +182,9 @@ static void check_cfg( struct cfg_st *config)
if (config->keepalive == 0)
config->keepalive = 30;
if (config->priorities == NULL)
config->priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT";
}
int cmd_parser (int argc, char **argv, struct cfg_st* config)