* Allow the user to specify where to keep the database in the config file.

This commit is contained in:
Justin Maggard
2009-11-19 03:22:35 +00:00
parent 808fc6f459
commit 902b2105df
10 changed files with 50 additions and 19 deletions

View File

@ -19,6 +19,7 @@
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <linux/limits.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/types.h>
@ -27,6 +28,7 @@
#include <errno.h>
#include "minidlnatypes.h"
#include "log.h"
int
ends_with(const char * haystack, const char * needle)
@ -198,7 +200,7 @@ make_dir(char * path, mode_t mode)
} while (1);
printf("make_dir: cannot create directory '%s'", path);
DPRINTF(E_WARN, L_GENERAL, "make_dir: cannot create directory '%s'\n", path);
return -1;
}