mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Implement NetLogSave method to dump NetLog to a file.
This commit is contained in:
parent
b66744f5b2
commit
9f6486c0de
1 changed files with 6 additions and 6 deletions
|
@ -9,6 +9,12 @@ U0 NetLogTask(I64)
|
|||
}
|
||||
}
|
||||
|
||||
U0 NetLogSave()
|
||||
{
|
||||
StrCopy(net_log_task->put_doc->filename.name, "::/Home/Net/Log.DD");
|
||||
DocWrite(net_log_task->put_doc);
|
||||
}
|
||||
|
||||
U0 NetLogInit()
|
||||
{
|
||||
net_log_task = Spawn(&ServerCmdLine, NULL, "Network Log");
|
||||
|
@ -19,12 +25,6 @@ U0 NetLogInit()
|
|||
net_log_task->text_attr = WHITE << 4 + LTGRAY;
|
||||
DocClear(net_log_task->border_doc, TRUE);
|
||||
|
||||
/*
|
||||
if (Fs == sys_task)
|
||||
WinFocus(sys_task->next_task);
|
||||
else
|
||||
WinFocus;*/
|
||||
|
||||
WinHorz(TEXT_COLS / 3, 2 * TEXT_COLS / 3, net_log_task);
|
||||
WinVert(2 * TEXT_ROWS / 3, 5 * TEXT_ROWS / 6, net_log_task);
|
||||
WinFocus(net_log_task);
|
||||
|
|
Loading…
Reference in a new issue