apply patch for fspscan from FreeBSD ports
This commit is contained in:
parent
526dee534e
commit
eea51abb1d
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user