jcs
/subtext
/amendments
/222
tcp: Don't bother manually zeroing open options
This whole struct has already been zeroed with memset.
jcs made amendment 222 over 2 years ago
--- tcp.c Wed Jul 13 17:22:26 2022
+++ tcp.c Sat Jul 23 19:46:52 2022
@@ -121,8 +121,6 @@ _TCPPassiveOpen(TCPiopb *pb, StreamPtr stream, ip_addr
pb->csParam.open.timeToLive = 0;
pb->csParam.open.security = 0;
pb->csParam.open.optionCnt = 0;
- for (index = 0; index < sizeof(pb->csParam.open.options); ++index)
- pb->csParam.open.options[index] = 0;
pb->csParam.open.userDataPtr = userData;
osErr = PBControl((ParmBlkPtr) pb, async);