Differences From Artifact [e79d51f216]:
- File
src/OFTCPSocket.m
— part of check-in
[a2a48d4d29]
at
2013-01-19 01:41:57
on branch trunk
— Two small fixes.
OFStreamObserver_select: Fix missing include.
OFTCPSocket: Fix missing rename. (user: js, size: 16247) [annotate] [blame] [check-ins using]
To Artifact [e3f567d132]:
- File src/OFTCPSocket.m — part of check-in [cdfe025f85] at 2013-01-28 20:06:30 on branch trunk — Remove AI_ADDRCONFIG, as it's buggy in glibc. (user: js, size: 16158) [annotate] [blame] [check-ins using]
︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - - - | #ifdef HAVE_THREADSAFE_GETADDRINFO # ifndef AI_NUMERICSERV # define AI_NUMERICSERV 0 # endif # ifndef AI_NUMERICHOST # define AI_NUMERICHOST 0 # endif |
︙ | |||
322 323 324 325 326 327 328 | 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | - + | #ifdef HAVE_THREADSAFE_GETADDRINFO struct addrinfo hints, *res, *res0; char portCString[7]; memset(&hints, 0, sizeof(struct addrinfo)); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; |
︙ | |||
503 504 505 506 507 508 509 | 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 | - + | #ifdef HAVE_THREADSAFE_GETADDRINFO struct addrinfo hints, *res; char portCString[7]; memset(&hints, 0, sizeof(struct addrinfo)); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; |
︙ |