Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
128
Issues
128
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Commits
759c9021
Commit
759c9021
authored
Nov 16, 2015
by
rswindell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log the date/time stamp of each query/response to the data/guru.log.
parent
82126bec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/sbbs3/chat.cpp
src/sbbs3/chat.cpp
+4
-1
No files found.
src/sbbs3/chat.cpp
View file @
759c9021
...
...
@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright
2013 Rob Swindell - http://www.synchro.net/copyright.html
*
* Copyright
Rob Swindell - http://www.synchro.net/copyright.html
*
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
...
...
@@ -1792,6 +1792,9 @@ void sbbs_t::guruchat(char* line, char* gurubuf, int gurunum, char* last_answer)
if
((
file
=
nopen
(
str
,
O_WRONLY
|
O_CREAT
|
O_APPEND
))
==-
1
)
errormsg
(
WHERE
,
ERR_OPEN
,
str
,
O_WRONLY
|
O_CREAT
|
O_APPEND
);
else
{
xpDateTime_to_isoDateTimeStr
(
xpDateTime_now
(),
"-"
,
" "
,
":"
,
0
,
str
,
sizeof
(
str
)
-
3
);
strcat
(
str
,
"
\r\n
"
);
write
(
file
,
str
,
strlen
(
str
));
if
(
action
==
NODE_MCHT
)
{
sprintf
(
str
,
"[Multi] "
);
write
(
file
,
str
,
strlen
(
str
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment