freebsd-ports/net/fspd/files/patch-contrib_fspscan.c
Dmitry Marakasov c8a7c59522 - Fix build on 11.x
PR:		208815
Submitted by:	amdmi3
Approved by:	hsn@sendmail.cz (maintainer)
2016-04-24 22:41:27 +00:00

20 lines
439 B
C

--- contrib/fspscan.c.orig 2009-10-01 20:46:36 UTC
+++ contrib/fspscan.c
@@ -72,7 +72,7 @@ static void printhelp(int argc,char **ar
exit(0);
}
-static void fdclose(void)
+static void myfdclose(void)
{
close(myfd);
}
@@ -150,7 +150,7 @@ int main(int argc,char **argv)
else
fprintf(logfile,"%0d...nada\n",remoteport);
fflush(logfile);
- fdclose();
+ myfdclose();
}
return 0;
}