Revision: 228
http://svn.sourceforge.net/redbutton/?rev=228&view=rev
Author: skilvington
Date: 2007-02-19 09:47:32 -0800 (Mon, 19 Feb 2007)
Log Message:
-----------
put cache under base_dir
Modified Paths:
--------------
redbutton-download/trunk/rb-download.c
Modified: redbutton-download/trunk/rb-download.c
===================================================================
--- redbutton-download/trunk/rb-download.c 2007-02-19 17:16:11 UTC (rev 227)
+++ redbutton-download/trunk/rb-download.c 2007-02-19 17:47:32 UTC (rev 228)
@@ -147,9 +147,6 @@
}
}
- if(!cache_init())
- fatal("Unable to initialise cache");
-
/* initialise channels.conf */
if(!init_channels_conf(channels_file))
error("Unable to open channels.conf file");
@@ -159,6 +156,9 @@
&& chdir(base_dir) < 0)
fatal("Unable to cd to '%s': %s", base_dir, strerror(errno));
+ if(!cache_init())
+ fatal("Unable to initialise cache");
+
if(argc == optind)
{
list_channels(adapter, timeout);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|