From 49f649c73d6b8481e40158de5b76e9cbfd4350d5 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 22 Sep 2010 16:40:07 +0200 Subject: [PATCH] =?utf8?q?src/graph=5Flist.c:=20cachefile=20=E2=86=92=20ca?= =?utf8?q?che=5Ffile?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/graph_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph_list.c b/src/graph_list.c index 1614307..b979672 100644 --- a/src/graph_list.c +++ b/src/graph_list.c @@ -268,7 +268,7 @@ static int gl_update_cache (void) /* {{{ */ int fd; yajl_gen handler; yajl_gen_config handler_config = { /* pretty = */ 1, /* indent = */ " " }; - const char *cache_file = graph_config_get_cachefile (); + const char *cache_file = graph_config_get_cache_file (); struct flock lock; struct stat statbuf; int status; @@ -620,7 +620,7 @@ static int gl_read_cache (_Bool block) /* {{{ */ int status; time_t now; - fd = open (graph_config_get_cachefile (), O_RDONLY); + fd = open (graph_config_get_cache_file (), O_RDONLY); if (fd < 0) { fprintf (stderr, "gl_read_cache: open(2) failed with status %i\n", errno); -- 2.11.0