mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-06 12:47:55 +00:00
CheckFileReadable(): only check when a filename is given ...
This commit is contained in:
@@ -121,6 +121,9 @@ CheckFileReadable(const char *Var, const char *Filename)
|
||||
{
|
||||
FILE *fp;
|
||||
|
||||
if (!Filename)
|
||||
return;
|
||||
|
||||
fp = fopen(Filename, "r");
|
||||
if (fp)
|
||||
fclose(fp);
|
||||
|
Reference in New Issue
Block a user