Use ink_zero / ats_zero instead of calling memset when zeroing a variable or
member.
------------------------------------------------------------------------------------
Key: TS-1120
URL: https://issues.apache.org/jira/browse/TS-1120
Project: Traffic Server
Issue Type: Improvement
Components: Cleanup
Affects Versions: 3.1.2
Reporter: Alan M. Carroll
Priority: Minor
Fix For: sometime
We have an inline template, ink_zero(foo) which does "memset(&foo, 0,
sizeof(foo))". Because this is easy to mess up with a typo, the inline template
should be used for safety and clarity. Also, the template should be renamed
"ats_zero" to be consistent.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira