Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
5b99a0a9
Commit
5b99a0a9
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Fix new (MSVC) warnings
which were result of QWK_NEWLINE redef to make cppcheck happy
parent
460ba0a6
No related branches found
No related tags found
No related merge requests found
Pipeline
#5092
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/msgtoqwk.cpp
+1
-1
1 addition, 1 deletion
src/sbbs3/msgtoqwk.cpp
src/sbbs3/qwktomsg.cpp
+1
-1
1 addition, 1 deletion
src/sbbs3/qwktomsg.cpp
with
2 additions
and
2 deletions
src/sbbs3/msgtoqwk.cpp
+
1
−
1
View file @
5b99a0a9
...
...
@@ -246,7 +246,7 @@ int sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, int mode, smb_t* smb
if
(
!
buf
)
return
-
2
;
char
qwk_newline
=
QWK_NEWLINE
;
u
char
qwk_newline
=
QWK_NEWLINE
;
if
(
smb_msg_is_utf8
(
msg
)
||
(
msg
->
hdr
.
auxattr
&
MSG_HFIELDS_UTF8
))
{
if
(
mode
&
QM_UTF8
)
qwk_newline
=
'\n'
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/qwktomsg.cpp
+
1
−
1
View file @
5b99a0a9
...
...
@@ -314,7 +314,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, uint blocks
kludges
=
strListInit
();
char
qwk_newline
=
QWK_NEWLINE
;
u
char
qwk_newline
=
QWK_NEWLINE
;
if
(
msg
->
hdr
.
auxattr
&
MSG_HFIELDS_UTF8
)
qwk_newline
=
'\n'
;
...
...
This diff is collapsed.
Click to expand it.
Rob Swindell
@rswindell
mentioned in commit
eac3605f
·
1 year ago
mentioned in commit
eac3605f
mentioned in commit eac3605f45b5e92425d252cf35deb1757c76ebbd
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment