summaryrefslogtreecommitdiff
path: root/src/miav_config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/miav_config.cc')
-rw-r--r--src/miav_config.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/miav_config.cc b/src/miav_config.cc
index 8a9307d..c0acfb8 100644
--- a/src/miav_config.cc
+++ b/src/miav_config.cc
@@ -26,6 +26,8 @@
#include <config.h>
#include "miav_config.h"
+MiavConfig *config;
+
MiavConfig::MiavConfig(char *file, Error* err)
{
error = err;
@@ -254,3 +256,8 @@ _cfg *MiavConfig::findNode(char* node)
if(error) error->pushError(errbuf);
return NULL;
}
+
+Error* MiavConfig::getErrorObj()
+{
+ return error;
+}