Differences From Artifact [59fbba1365]:
- File
src/OFTCPSocket.m
— part of check-in
[e959fed010]
at
2009-04-26 12:44:20
on branch trunk
— A few renames in OFObject.
getMemWithSize: -> allocWithSize:
getMemForNItems:ofSize: -> allocNItems:withSize:
resizeMem:toNItems:ofSize: -> resizeMem:toNItems:withSize: (user: js, size: 6112) [annotate] [blame] [check-ins using]
To Artifact [5c6eb1441c]:
- File src/OFTCPSocket.m — part of check-in [14f74f3c2f] at 2009-04-28 20:31:07 on branch trunk — Fix two missing spaces. (user: js, size: 6113) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
201 202 203 204 205 206 207 | int s; newsock = [OFTCPSocket new]; addrlen = sizeof(struct sockaddr); @try { addr = [newsock allocWithSize: sizeof(struct sockaddr)]; | | | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | int s; newsock = [OFTCPSocket new]; addrlen = sizeof(struct sockaddr); @try { addr = [newsock allocWithSize: sizeof(struct sockaddr)]; } @catch (id e) { [newsock free]; @throw e; } if ((s = accept(sock, addr, &addrlen)) == INVALID_SOCKET) { [newsock free]; @throw [OFAcceptFailedException newWithClass: isa]; |
︙ | ︙ |