From f613da4f92d5ae1f719cda3f3f2ae28db3b7559b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 12 Feb 2021 09:23:31 +0900 Subject: [PATCH] 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 f9f7d73c7..fed5e87d4 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