Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
52f9a274
Commit
52f9a274
authored
10 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Should fix another warning reported by Travis
parent
a76b8730
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
net/tcp/tcp_accept.c
+2
-2
2 additions, 2 deletions
net/tcp/tcp_accept.c
with
2 additions
and
2 deletions
net/tcp/tcp_accept.c
+
2
−
2
View file @
52f9a274
...
...
@@ -237,7 +237,7 @@ int psock_tcp_accept(FAR struct socket *psock, FAR struct sockaddr *addr,
{
FAR
struct
tcp_conn_s
*
conn
;
struct
accept_s
state
;
int
err
;
int
err
=
OK
;
int
ret
;
DEBUGASSERT
(
psock
&&
newconn
);
...
...
@@ -339,7 +339,7 @@ int psock_tcp_accept(FAR struct socket *psock, FAR struct sockaddr *addr,
/* If net_lockedwait failed, then we were probably reawakened by a
* signal. In this case, logic above will have set 'err' to the
* er
n
no value returned by net_lockedwait().
* er
r
no value returned by net_lockedwait().
*/
if
(
ret
<
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment