Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
868f88cd
Commit
868f88cd
authored
Oct 30, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9052d96a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
wcfs/internal/wcfs_virtmem.cpp
wcfs/internal/wcfs_virtmem.cpp
+5
-7
No files found.
wcfs/internal/wcfs_virtmem.cpp
View file @
868f88cd
...
@@ -668,18 +668,16 @@ error WatchLink::recvReq(IContext *ctx, PinReq *prx) {
...
@@ -668,18 +668,16 @@ error WatchLink::recvReq(IContext *ctx, PinReq *prx) {
// XXX err ctx?
// XXX err ctx?
rxPkt
pkt
;
rxPkt
pkt
;
bool
ok
;
int
_
=
select
({
int
_
=
select
({
ctx
->
done
().
recvs
(),
// 0
ctx
->
done
().
recvs
(),
// 0
wlink
.
_acceptq
.
recvs
(
&
pkt
),
// 1
wlink
.
_acceptq
.
recvs
(
&
pkt
,
&
ok
),
// 1
});
});
if
(
_
==
0
)
if
(
_
==
0
)
return
ctx
->
err
();
return
ctx
->
err
();
// XXX recheck _serveRX vs EOF signalling
if
(
!
ok
)
#if 0
return
io
::
EOF_
;
if rx is None:
return rx
#endif
pkt
.
to_string
();
pkt
.
to_string
();
return
_parsePinReq
(
prx
,
&
pkt
);
return
_parsePinReq
(
prx
,
&
pkt
);
...
...
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