1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/biology/hmmer/files/patch-src_hmmc2.c
Fernando Apesteguía b1a429edf6 biology/hmmer: update to 3.3
PR:	243244
Submitted by:	mzaki@e-mail.ne.jp (maintainer)
2020-01-29 05:55:12 +00:00

12 lines
452 B
C

--- src/hmmc2.c.orig 2019-11-18 13:23:12 UTC
+++ src/hmmc2.c
@@ -334,7 +334,7 @@ int main(int argc, char *argv[])
n = sizeof(sstatus);
total += n;
if ((size = readn(sock, &sstatus, n)) == -1) {
- if(errno == 104 || errno == 0){
+ if(errno == ECONNRESET || errno == 0){
// connection was reset, usually because server exited
fprintf(stderr, "Daemon exited, shutting down\n");
exit(0);