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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
9c9597bd
Commit
9c9597bd
authored
Mar 10, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
003f8c75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wcfs/client/wcfs_watchlink.cpp
wcfs/client/wcfs_watchlink.cpp
+3
-1
No files found.
wcfs/client/wcfs_watchlink.cpp
View file @
9c9597bd
...
...
@@ -275,6 +275,8 @@ pair</*reply*/string, error> _WatchLink::sendReq(context::Context ctx, const str
if
(
err
!=
nil
)
return
make_pair
(
""
,
E
(
err
));
// XXX new err ctx wlink: sendReq .%d: recvReply
int
_
=
select
({
ctx
->
done
().
recvs
(),
// 0
rxq
.
recvs
(
&
rx
,
&
ok
),
// 1
...
...
@@ -283,7 +285,7 @@ pair</*reply*/string, error> _WatchLink::sendReq(context::Context ctx, const str
return
make_pair
(
""
,
E
(
ctx
->
err
()));
if
(
!
ok
)
return
make_pair
(
""
,
E
(
io
::
ErrUnexpectedEOF
));
// XXX error ok?
return
make_pair
(
""
,
E
(
io
::
ErrUnexpectedEOF
));
string
reply
=
rx
.
to_string
();
return
make_pair
(
reply
,
nil
);
}
...
...
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