Archived
1
0
Fork 0

file.c: moved everything into path.c

This commit is contained in:
Henrik Hautakoski 2010-11-21 13:25:04 +01:00
parent c1963d1397
commit f65dcaaf18
6 changed files with 13 additions and 19 deletions

View file

@ -22,6 +22,7 @@
#include "notify.h"
#include "database.h"
#include "util.h"
#include "path.h"
#include "debug.h"
static dictionary *config = NULL;
@ -30,7 +31,7 @@ static int load_config(const char *file) {
iniparser_freedict(config);
if (file_exists(file)) {
if (is_file(file)) {
config = iniparser_load(file);
if (NULL == config)
return -1;