Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
e482ef14
Commit
e482ef14
authored
Mar 15, 2018
by
deuce
Browse files
Add missing else in last commit.
parent
6efd59ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/sbbs3/js_socket.c
src/sbbs3/js_socket.c
+2
-1
No files found.
src/sbbs3/js_socket.c
View file @
e482ef14
...
@@ -171,7 +171,8 @@ static ptrdiff_t js_socket_recv(js_socket_private_t *p, void *buf, size_t len, i
...
@@ -171,7 +171,8 @@ static ptrdiff_t js_socket_recv(js_socket_private_t *p, void *buf, size_t len, i
tv
.
tv_sec
=
timeout
;
tv
.
tv_sec
=
timeout
;
if
(
select
(
p
->
sock
+
1
,
&
socket_set
,
NULL
,
NULL
,
&
tv
)
==
1
)
if
(
select
(
p
->
sock
+
1
,
&
socket_set
,
NULL
,
NULL
,
&
tv
)
==
1
)
ret
=
recv
(
p
->
sock
,
buf
,
len
,
flags
);
ret
=
recv
(
p
->
sock
,
buf
,
len
,
flags
);
ret
=
0
;
else
ret
=
0
;
}
}
else
{
else
{
status
=
cryptPopData
(
p
->
session
,
buf
,
len
,
&
copied
);
status
=
cryptPopData
(
p
->
session
,
buf
,
len
,
&
copied
);
...
...
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