projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix db4 backend - we weren't actually providing a suitable dbfuncs struct.
[onak.git]
/
onak-conf.c
diff --git
a/onak-conf.c
b/onak-conf.c
index 0958502b4d57923119fa0f75d337f58bbe8e301f..70990f87b174ab5565be42d9cf54088265bae512 100644
(file)
--- a/
onak-conf.c
+++ b/
onak-conf.c
@@
-17,6
+17,8
@@
#include "log.h"
#include "onak-conf.h"
#include "log.h"
#include "onak-conf.h"
+extern struct dbfuncs DBFUNCS;
+
/*
* config - Runtime configuration for onak.
*
/*
* config - Runtime configuration for onak.
*
@@
-49,6
+51,8
@@
struct onak_config config = {
*/
NULL, /* db_backend */
NULL, /* backends_dir */
*/
NULL, /* db_backend */
NULL, /* backends_dir */
+
+ &DBFUNCS, /* Default dbfuncs struct */
};
void readconfig(const char *configfile) {
};
void readconfig(const char *configfile) {