comparison dcclib/get_port.c @ 2:f6716cb00029

Replace buggy stuff in deb dir, never make phone calls while working
author Peter Gervai <grin@grin.hu>
date Tue, 10 Mar 2009 14:29:12 +0100
parents c7f6b056b673
children
comparison
equal deleted inserted replaced
1:9b8d79ac0dc3 2:f6716cb00029
650 || !retry_secsp || *retry_secsp <= 0) { 650 || !retry_secsp || *retry_secsp <= 0) {
651 /* no retries were allowed or we have exhasuted them */ 651 /* no retries were allowed or we have exhasuted them */
652 #ifndef NO_IPV6 652 #ifndef NO_IPV6
653 if (sup->sa.sa_family == AF_INET6 653 if (sup->sa.sa_family == AF_INET6
654 && (errno == EPFNOSUPPORT 654 && (errno == EPFNOSUPPORT
655 || errno == EAFNOSUPPORT
655 || errno == EPROTONOSUPPORT)) 656 || errno == EPROTONOSUPPORT))
656 result = -1; 657 result = -1;
657 else 658 else
658 #endif 659 #endif
659 result = 0; 660 result = 0;