Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 22ada013 authored by rswindell's avatar rswindell

Location of log files is now configuration (logs_dir).

parent ebd9c168
......@@ -2589,7 +2589,7 @@ void __fastcall TMainForm::BBSViewErrorLogMenuItemClick(TObject *Sender)
char filename[MAX_PATH+1];
sprintf(filename,"%sERROR.LOG"
,MainForm->cfg.data_dir);
,MainForm->cfg.logs_dir);
Application->CreateForm(__classid(TTextFileEditForm), &TextFileEditForm);
TextFileEditForm->Filename=AnsiString(filename);
TextFileEditForm->Caption="Error Log";
......@@ -2695,7 +2695,7 @@ void __fastcall TMainForm::ViewLogClick(TObject *Sender)
ftp_lputs(NULL);
sprintf(filename,"%sLOGS\\%s%02d%02d%02d.LOG"
,MainForm->cfg.data_dir
,MainForm->cfg.logs_dir
,((TMenuItem*)Sender)->Hint.c_str()
,tm->tm_mon+1
,tm->tm_mday
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment