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
7e5ab9ab
Commit
7e5ab9ab
authored
Feb 23, 2022
by
Rob Swindell
💬
Browse files
Just use our local C macro MAX()
parent
969a1ef4
Pipeline
#2772
passed with stage
in 9 minutes and 20 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/bat_xfer.cpp
src/sbbs3/bat_xfer.cpp
+1
-1
No files found.
src/sbbs3/bat_xfer.cpp
View file @
7e5ab9ab
...
...
@@ -703,7 +703,7 @@ bool sbbs_t::addtobatdl(file_t* f)
bprintf
(
text
[
FileAddedToBatDlQueue
]
,
f
->
name
,
strListCount
(
filenames
)
+
1
,
cfg
.
max_batdn
,
ultoac
((
ulong
)
totalcost
,
tmp
)
,
ultoac
((
ulong
)
totalsize
,
tmp2
)
,
sectostr
((
ulong
)
totalsize
/
max
((
ulong
)
cur_cps
,
1
),
str
));
,
sectostr
((
ulong
)
totalsize
/
MAX
((
ulong
)
cur_cps
,
1
),
str
));
result
=
true
;
}
}
...
...
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