summaryrefslogtreecommitdiffabout
path: root/src/eyekinfig.cc
Unidiff
Diffstat (limited to 'src/eyekinfig.cc') (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 @@
2#include <stdexcept> 2#include <stdexcept>
3#include <autosprintf.h> 3#include <autosprintf.h>
4#include "eyekinfig.h" 4#include "eyekinfig.h"
5 5
6#include "config.h" 6#include "config.h"
7 7
8eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma) { 8eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma), cfg(0) {
9 try { 9 try {
10 static cfg_opt_t opts[] = { 10 static cfg_opt_t opts[] = {
11 CFG_STR((char*)"targetdir",(char*)"/var/lib/" PACKAGE "/%s",CFGF_NONE), 11 CFG_STR((char*)"targetdir",(char*)"/var/lib/" PACKAGE "/%s",CFGF_NONE),
12 CFG_STR((char*)"uploadkey",(char*)"",CFGF_NONE), 12 CFG_STR((char*)"uploadkey",(char*)"",CFGF_NONE),
13 CFG_STR((char*)"on-start-session",(char*)"",CFGF_NONE), 13 CFG_STR((char*)"on-start-session",(char*)"",CFGF_NONE),
14 CFG_STR((char*)"on-upload-photo",(char*)"",CFGF_NONE), 14 CFG_STR((char*)"on-upload-photo",(char*)"",CFGF_NONE),