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


##########
wireless/wapi/src/util.c:
##########
@@ -148,7 +148,7 @@ static bool wapi_json_update(FAR cJSON *root,
           int len = strlen(obj->valuestring);
           if (len > 0)
             {
-              if (!strncmp(value, obj->valuestring, len))
+              if (!strcmp(value, obj->valuestring))

Review Comment:
   Oops. It seems that it was a broken preview from my browser. It looked like 
159 line was missing 2 spaces before `{`. I looked there again and it seems 
like all is fine.



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to