empiredan commented on code in PR #1300:
URL: 
https://github.com/apache/incubator-pegasus/pull/1300#discussion_r1052807846


##########
src/shell/commands/global_properties.cpp:
##########
@@ -44,11 +45,11 @@ bool process_escape_all(command_executor *e, shell_context 
*sc, arguments args)
         fprintf(stderr, "Current escape_all: %s.\n", sc->escape_all ? "true" : 
"false");
         return true;
     } else if (args.argc == 2) {
-        if (strcmp(args.argv[1], "true") == 0) {
+        if (dsn::utils::equals(args.argv[1], "true")) {

Review Comment:
   > Does is make sense if introducing `iequals` to compare strings but ignore 
cases?
   
   Good advice ! I think this is necessary, I'll add it.



-- 
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: dev-unsubscr...@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pegasus.apache.org
For additional commands, e-mail: dev-h...@pegasus.apache.org

Reply via email to