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
8c3fceaa
Commit
8c3fceaa
authored
Mar 10, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
dacd44cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
wcfs/client/wcfs_watchlink.cpp
wcfs/client/wcfs_watchlink.cpp
+1
-2
No files found.
wcfs/client/wcfs_watchlink.cpp
View file @
8c3fceaa
...
...
@@ -199,7 +199,6 @@ error _WatchLink::_serveRX(context::Context ctx) {
log
::
Errorf
(
"%s: .%lu: wcfs sent request on already used stream"
,
v
(
wlink
),
pkt
.
stream
);
return
ErrLinkDown
;
// XXX correct error
}
// XXX clear _accepted not to leak memory after reply is sent
wlink
.
_accepted
.
insert
(
pkt
.
stream
);
wlink
.
_rxmu
.
unlock
();
int
_
=
select
({
...
...
@@ -235,7 +234,7 @@ error _WatchLink::recvReq(context::Context ctx, PinReq *prx) {
return
E
(
_parsePinReq
(
prx
,
&
pkt
));
}
// replyReq sends reply to client <- server request received
by
recvReq.
// replyReq sends reply to client <- server request received
via
recvReq.
error
_WatchLink
::
replyReq
(
context
::
Context
ctx
,
const
PinReq
*
req
,
const
string
&
answer
)
{
_WatchLink
&
wlink
=
*
this
;
xerr
::
Contextf
E
(
"%s: replyReq .%d"
,
v
(
wlink
),
req
->
stream
);
...
...
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