summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyekinfig.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eyekinfig.cc b/src/eyekinfig.cc
index 6dde7b2..79cec80 100644
--- a/src/eyekinfig.cc
+++ b/src/eyekinfig.cc
@@ -2,13 +2,13 @@
#include <stdexcept>
#include <autosprintf.h>
#include "eyekinfig.h"
#include "config.h"
-eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma) {
+eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma), cfg(0) {
try {
static cfg_opt_t opts[] = {
CFG_STR((char*)"targetdir",(char*)"/var/lib/" PACKAGE "/%s",CFGF_NONE),
CFG_STR((char*)"uploadkey",(char*)"",CFGF_NONE),
CFG_STR((char*)"on-start-session",(char*)"",CFGF_NONE),
CFG_STR((char*)"on-upload-photo",(char*)"",CFGF_NONE),