Changeset 16812 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Feb 17, 2009 5:07:33 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42911
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r16562 r16812 186 186 register struct tcpcb *tp; 187 187 188 tp = (struct tcpcb *)RTMemAlloc (sizeof(*tp));188 tp = (struct tcpcb *)RTMemAllocZ(sizeof(*tp)); 189 189 if (tp == NULL) 190 190 return ((struct tcpcb *)0); 191 191 192 memset((char *) tp, 0, sizeof(struct tcpcb));193 192 tp->t_maxseg = tcp_mssdflt; 194 193
Note:
See TracChangeset
for help on using the changeset viewer.