trimstray / htrace.sh

My simple Swiss Army knife for http/https troubleshooting and profiling.
GNU General Public License v3.0
3.75k stars 233 forks source link

Fix $HTRACE_COLORS $HIDE_SRC_IP checking logic in helpers #93

Closed PeterDaveHello closed 4 years ago

PeterDaveHello commented 4 years ago

The original condition logic will ALWAYS be true, which doesn't make any sense here as the variables here seem to be reversed even though the values are already set, and also, if the conditions here always need to be true; there is no need to write the long logic here.

trimstray commented 4 years ago

Thanks a lot!