Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
7448a68a
Commit
7448a68a
authored
Feb 26, 2022
by
Rob Swindell
💬
Browse files
Add BUILD_DATE and BUILD_TIME @-codes
For DesotoFireflite (VALHALLA)
parent
6353477d
Pipeline
#2795
passed with stage
in 9 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/sbbs3/atcodes.cpp
src/sbbs3/atcodes.cpp
+6
-0
No files found.
src/sbbs3/atcodes.cpp
View file @
7448a68a
...
...
@@ -410,6 +410,12 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
if
(
strcmp
(
sp
,
"GIT_BRANCH"
)
==
0
)
return
git_branch
;
if
(
strcmp
(
sp
,
"BUILD_DATE"
)
==
0
)
return
__DATE__
;
if
(
strcmp
(
sp
,
"BUILD_TIME"
)
==
0
)
return
__TIME__
;
if
(
!
strcmp
(
sp
,
"UPTIME"
))
{
extern
volatile
time_t
uptime
;
time_t
up
=
0
;
...
...
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