Commit ad80510e authored by Christophe Massiot's avatar Christophe Massiot

* dvblast.c: Check if a config file has been given.

parent 05f87187
......@@ -70,6 +70,12 @@ static void ReadConfiguration( char *psz_file )
char psz_line[2048];
int i;
if ( psz_file == NULL )
{
msg_Err( NULL, "no config file" );
return;
}
if ( (p_file = fopen( psz_file, "r" )) == NULL )
{
msg_Err( NULL, "can't fopen config file %s", psz_file );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment