Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1c677d70
Commit
1c677d70
authored
Jan 05, 2003
by
Bob Miller
Committed by
Linus Torvalds
Jan 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fixed ifdefs for a label in ncpfs_sock.c
parent
02c03412
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/ncpfs/sock.c
fs/ncpfs/sock.c
+2
-0
No files found.
fs/ncpfs/sock.c
View file @
1c677d70
...
@@ -587,7 +587,9 @@ static int __ncptcp_rcv_proc(struct ncp_server *server) {
...
@@ -587,7 +587,9 @@ static int __ncptcp_rcv_proc(struct ncp_server *server) {
}
}
#endif
#endif
type
=
ntohs
(
server
->
rcv
.
buf
.
type
);
type
=
ntohs
(
server
->
rcv
.
buf
.
type
);
#ifdef CONFIG_NCPFS_PACKET_SIGNING
cont:
;
cont:
;
#endif
if
(
type
!=
NCP_REPLY
)
{
if
(
type
!=
NCP_REPLY
)
{
if
(
datalen
-
8
<=
sizeof
(
server
->
unexpected_packet
.
data
))
{
if
(
datalen
-
8
<=
sizeof
(
server
->
unexpected_packet
.
data
))
{
*
(
__u16
*
)(
server
->
unexpected_packet
.
data
)
=
htons
(
type
);
*
(
__u16
*
)(
server
->
unexpected_packet
.
data
)
=
htons
(
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