diff options
author | Roy Marples <roy@marples.name> | 2007-09-18 16:57:39 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-18 16:57:39 +0000 |
commit | 1996a1e032970beeea690dff8480f8007539b968 (patch) | |
tree | 953ce6ec8c48b66bfc70ffdff619fd95fa7c10bf | |
parent | 5ba4ad52e20de57509917494d22e7f43fb7b324b (diff) |
Hide errors caused by old splash plugin for the time being
-rw-r--r-- | src/librc-misc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c index 4c40cfbf..87949059 100644 --- a/src/librc-misc.c +++ b/src/librc-misc.c @@ -319,8 +319,11 @@ char **rc_get_config (const char *file) char *entry; char *newline; + if (! file) + return (NULL); + if (! (fp = fopen (file, "r"))) { - ewarn ("load_config_file `%s': %s", file, strerror (errno)); + ewarn ("rc_get_config `%s': %s", file, strerror (errno)); return (NULL); } |