apply patch for fspscan from FreeBSD ports

This commit is contained in:
Radim Kolar 2019-08-16 14:11:55 +02:00
parent 526dee534e
commit eea51abb1d

View File

@ -72,7 +72,7 @@ static void printhelp(int argc,char **argv)
exit(0); exit(0);
} }
static void fdclose(void) static void myfdclose(void)
{ {
close(myfd); close(myfd);
} }
@ -150,7 +150,7 @@ int main(int argc,char **argv)
else else
fprintf(logfile,"%0d...nada\n",remoteport); fprintf(logfile,"%0d...nada\n",remoteport);
fflush(logfile); fflush(logfile);
fdclose(); myfdclose();
} }
return 0; return 0;
} }