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
127
Issues
127
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
6cbf6f65
Commit
6cbf6f65
authored
Apr 18, 2002
by
rswindell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed gcc -Wall warnings.
parent
a4aab6c4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
src/encode/lzh.c
src/encode/lzh.c
+1
-1
src/sbbs3/chksmb.c
src/sbbs3/chksmb.c
+1
-0
src/sbbs3/node.c
src/sbbs3/node.c
+1
-0
src/sbbs3/readmail.cpp
src/sbbs3/readmail.cpp
+3
-3
src/sbbs3/smbutil.c
src/sbbs3/smbutil.c
+4
-3
No files found.
src/encode/lzh.c
View file @
6cbf6f65
...
...
@@ -588,7 +588,7 @@ short int lzh_decode_position(uchar *inbuf, long *incnt, long inlen)
while
(
j
--
)
{
i
=
(
i
<<
1
)
+
lzh_getbit
(
inbuf
,
incnt
,
inlen
);
}
return
c
|
i
&
0x3f
;
return
c
|
(
i
&
0x3f
)
;
}
/* Compression */
...
...
src/sbbs3/chksmb.c
View file @
6cbf6f65
...
...
@@ -40,6 +40,7 @@
#include <stdlib.h>
/* exit */
#include <string.h>
/* strrchr */
#include <time.h>
/* ctime */
#include <ctype.h>
/* toupper */
/* SMB-specific */
#include "smblib.h"
...
...
src/sbbs3/node.c
View file @
6cbf6f65
...
...
@@ -46,6 +46,7 @@
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
/* isdigit */
/* Synchronet-specific */
#include "sbbsdefs.h"
...
...
src/sbbs3/readmail.cpp
View file @
6cbf6f65
...
...
@@ -131,7 +131,7 @@ void sbbs_t::readmail(uint usernumber, int which)
bprintf
(
text
[
StartWithN
],
1L
);
if
((
long
)(
curmsg
=
getnum
(
msgs
))
>
0
)
curmsg
--
;
else
if
(
curmsg
==-
1
)
{
else
if
(
(
long
)
curmsg
==-
1
)
{
FREE
(
mail
);
smb_close
(
&
smb
);
smb_stack
(
&
smb
,
SMB_STACK_POP
);
...
...
@@ -577,10 +577,10 @@ void sbbs_t::readmail(uint usernumber, int which)
break
;
case
'['
:
/* Search To User backward */
strcpy
(
str
,
msg
.
to
);
for
(
i
=
curmsg
-
1
;
(
ulong
)
i
>-
1
;
i
--
)
for
(
i
=
curmsg
-
1
;
i
>-
1
;
i
--
)
if
(
mail
[
i
].
to
==
msg
.
idx
.
to
)
break
;
if
(
(
ulong
)
i
>-
1
)
if
(
i
>-
1
)
curmsg
=
i
;
else
domsg
=
0
;
...
...
src/sbbs3/smbutil.c
View file @
6cbf6f65
...
...
@@ -52,9 +52,10 @@
/* ANSI */
#include <stdio.h>
#include <time.h>
/* time */
#include <errno.h>
/* errno */
#include <string.h>
/* strrchr */
#include <time.h>
/* time */
#include <errno.h>
/* errno */
#include <string.h>
/* strrchr */
#include <ctype.h>
/* toupper */
#include "genwrap.h"
/* stricmp */
#include "dirwrap.h"
/* fexist */
...
...
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