mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
7612f38ced
Computing Software Stack. It is mostly compliant with the TSS 1.2 specification. Obtained from: http://bsssd.sourceforge.net/
12 lines
443 B
C
12 lines
443 B
C
--- src/tspi/rpc/tcstp/rpc.c.orig 2010-03-12 05:26:51.000000000 +0900
|
|
+++ src/tspi/rpc/tcstp/rpc.c 2010-10-24 21:04:04.846552639 +0900
|
|
@@ -306,7 +306,7 @@
|
|
errno = 0;
|
|
if ((recv_size = recv(sock, buffer+recv_total, size-recv_total, 0)) <= 0) {
|
|
if (recv_size < 0) {
|
|
- if (errno == EINTR)
|
|
+ if (errno == EINTR || errno == EAGAIN)
|
|
continue;
|
|
LogError("Socket receive connection error: %s.", strerror(errno));
|
|
} else {
|