include banner in the XML success message.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-27 22:29:10 +01:00
parent cb89a7438d
commit 83c9793033
3 changed files with 47 additions and 17 deletions
+5
View File
@@ -226,6 +226,11 @@ static void check_cfg( struct cfg_st *config)
exit(1);
}
if (config->banner && strlen(config->banner) > MAX_BANNER_SIZE) {
fprintf(stderr, "Banner size is too long\n");
exit(1);
}
if (config->keepalive == 0)
config->keepalive = 3600;