Artifact 6e26b4f3c3e360396b884b7730b27a65cada6a21:
- File winnet.c — part of check-in [48c3c19745] at 2003-03-29 10:14:26 on branch trunk — Introduced wrapper macros snew(), snewn() and sresize() for the malloc functions, which automatically cast to the same type they're allocating the size of. Should prevent any future errors involving mallocing the size of the wrong structure type, and will also make life easier if we ever need to turn the PuTTY core code from real C into C++-friendly C. I haven't touched the Mac frontend in this checkin because I couldn't compile or test it. (user: simon size: 31991)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.