Changeset 171 for trunk/src/sh_portcheck.c
- Timestamp:
- Jul 8, 2008, 11:16:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_portcheck.c
r170 r171 687 687 do { 688 688 retval = connect(fd, (struct sockaddr *) &sinr, sizeof(sinr)); 689 } while (retval < 0 && errno == EINTR);689 } while (retval < 0 && (errno == EINTR || errno == EINPROGRESS)); 690 690 691 691 if (retval == -1) … … 775 775 do { 776 776 retval = connect(fd, (struct sockaddr *) &sinr, sizeof(sinr)); 777 } while (retval < 0 && errno == EINTR);777 } while (retval < 0 && (errno == EINTR || errno == EINPROGRESS)); 778 778 779 779 if (retval == -1 && errno == ECONNREFUSED)
Note:
See TracChangeset
for help on using the changeset viewer.