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
ad574b73
Commit
ad574b73
authored
Sep 13, 2004
by
rswindell
Browse files
Fixed a couple (harmless) bcc32 compile warnings.
parent
7ad38b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/smblib/smbtxt.c
src/smblib/smbtxt.c
+2
-2
No files found.
src/smblib/smbtxt.c
View file @
ad574b73
...
...
@@ -61,7 +61,7 @@ char* SMBCALL smb_getmsgtxt(smb_t* smb, smbmsg_t* msg, ulong mode)
}
*
buf
=
0
;
for
(
i
=
0
;
i
<
msg
->
total_hfields
;
i
++
)
{
/* comment headers are part of text */
for
(
i
=
0
;
i
<
(
uint
)
msg
->
total_hfields
;
i
++
)
{
/* comment headers are part of text */
if
(
msg
->
hfield
[
i
].
type
!=
SMB_COMMENT
&&
msg
->
hfield
[
i
].
type
!=
SMTPSYSMSG
)
continue
;
str
=
(
char
*
)
msg
->
hfield_dat
[
i
];
...
...
@@ -76,7 +76,7 @@ char* SMBCALL smb_getmsgtxt(smb_t* smb, smbmsg_t* msg, ulong mode)
l
+=
sprintf
(
buf
+
l
,
"%s
\r\n
"
,
str
);
}
for
(
i
=
0
;
i
<
msg
->
hdr
.
total_dfields
;
i
++
)
{
for
(
i
=
0
;
i
<
(
uint
)
msg
->
hdr
.
total_dfields
;
i
++
)
{
if
(
msg
->
dfield
[
i
].
length
<=
sizeof
(
xlat
))
continue
;
switch
(
msg
->
dfield
[
i
].
type
)
{
...
...
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