Commit Diff


commit - 449ad1eeea20b08d2fe049725f71e98e105ec5f4
commit + a085444035016061ca71d43f077d715138708f4e
blob - f5ddec8e1e0232e0b4447f07f185b21fab5f70c3
blob + 0a814a76269a5ce323ec7a85ba5a85c7125ea360
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
@@ -121,6 +121,9 @@ CheckFileReadable(const char *Var, const char *Filenam
 {
 	FILE *fp;
 
+	if (!Filename)
+		return;
+
 	fp = fopen(Filename, "r");
 	if (fp)
 		fclose(fp);