You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/15 14:43:28 UTC

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a diff in pull request #1269: Some WAPI changes

pkarashchenko commented on code in PR #1269:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1269#discussion_r945820905


##########
wireless/wapi/src/util.c:
##########
@@ -114,7 +114,7 @@ static FAR void *wapi_json_load(FAR const char *confname)
       free(buf);
     }
 
-  if (fd > 0)
+  if (fd >= 0)

Review Comment:
   I think this change matters only if we expect fd to be stdin.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org