View | Details | Raw Unified | Return to bug 1721
Collapse All | Expand All

(-)b/channels.c (-1 / +5 lines)
Lines 3098-3104 Link Here
3098
			sock = socket(ai->ai_family, ai->ai_socktype,
3098
			sock = socket(ai->ai_family, ai->ai_socktype,
3099
			    ai->ai_protocol);
3099
			    ai->ai_protocol);
3100
			if (sock < 0) {
3100
			if (sock < 0) {
3101
				if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) {
3101
				if ((errno != EINVAL) && (errno != EAFNOSUPPORT)
3102
#ifdef EPFNOSUPPORT
3103
				    && (errno != EPFNOSUPPORT)
3104
#endif 
3105
				    ) {
3102
					error("socket: %.100s", strerror(errno));
3106
					error("socket: %.100s", strerror(errno));
3103
					freeaddrinfo(aitop);
3107
					freeaddrinfo(aitop);
3104
					return -1;
3108
					return -1;

Return to bug 1721