X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2Fgraph_list.c;fp=src%2Fgraph_list.c;h=b979672ec3a0cbb2abb0160bf8a458450c8af763;hp=1614307d3b72f1aadcc14dc0b95f0c7a9dbdbe86;hb=49f649c73d6b8481e40158de5b76e9cbfd4350d5;hpb=92b68e4876cfab87eb37046f8a79876a46173341 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);