Skip to content
Snippets Groups Projects
Commit e5215ec4 authored by rswindell's avatar rswindell
Browse files

Added default values for FTP and Mail server max_clients (10).

parent 3667a1aa
No related branches found
No related tags found
No related merge requests found
......@@ -640,6 +640,7 @@ __fastcall TMainForm::TMainForm(TComponent* Owner)
mail_startup.max_delivery_attempts=50;
mail_startup.rescan_frequency=3600; /* 60 minutes */
mail_startup.lines_per_yield=100;
mail_startup.max_clients=10;
memset(&ftp_startup,0,sizeof(ftp_startup));
ftp_startup.size=sizeof(ftp_startup);
......@@ -655,6 +656,7 @@ __fastcall TMainForm::TMainForm(TComponent* Owner)
ftp_startup.socket_open=socket_open;
ftp_startup.options
=FTP_OPT_INDEX_FILE|FTP_OPT_HTML_INDEX_FILE|FTP_OPT_ALLOW_QWK;
ftp_startup.max_clients=10;
strcpy(ftp_startup.index_file_name,"00index");
strcpy(ftp_startup.html_index_file,"00index.html");
strcpy(ftp_startup.html_index_script,"ftp-html.js");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment