You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/10/07 19:58:52 UTC

[GitHub] [trafficserver] SolidWallOfCode opened a new pull request #7250: Remove useless if for port set assertion.

SolidWallOfCode opened a new pull request #7250:
URL: https://github.com/apache/trafficserver/pull/7250


   The clauses for both sides of the `if` are identical, because the functions return `in_port_t` which is unsigned, i.e. `> 0` is identical to `!= 0`. Host ordering doesn't matter for checking against 0.


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] SolidWallOfCode merged pull request #7250: Remove useless if for port set assertion.

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode merged pull request #7250:
URL: https://github.com/apache/trafficserver/pull/7250


   


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] SolidWallOfCode merged pull request #7250: Remove useless if for port set assertion.

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode merged pull request #7250:
URL: https://github.com/apache/trafficserver/pull/7250


   


----------------------------------------------------------------
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.

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