This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new f613da4 webclient.c: Remove a space after a negative sign
f613da4 is described below
commit f613da4f92d5ae1f719cda3f3f2ae28db3b7559b
Author: YAMAMOTO Takashi <[email protected]>
AuthorDate: Fri Feb 12 09:23:31 2021 +0900
webclient.c: Remove a space after a negative sign
from:
return - ECONNABORTED;
to:
return -ECONNABORTED;
The latter style is more commonly used within NuttX code base.
Note: nxstyle doesn't complain on either of them.
---
netutils/webclient/webclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c
index f9f7d73..fed5e87 100644
--- a/netutils/webclient/webclient.c
+++ b/netutils/webclient/webclient.c
@@ -432,7 +432,7 @@ static inline int wget_parsestatus(struct webclient_context
*ctx,
}
else
{
- return - ECONNABORTED;
+ return -ECONNABORTED;
}
/* We're done parsing the status line, so start parsing