From 1996a1e032970beeea690dff8480f8007539b968 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 18 Sep 2007 16:57:39 +0000 Subject: Hide errors caused by old splash plugin for the time being --- src/librc-misc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3