From: Jonathan McDowell Date: Tue, 25 Aug 2015 15:46:30 +0000 (+0100) Subject: Fix stupid sock_dir bug X-Git-Tag: onak-0.4.6~1 X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=5068a27e971ac7cbb5cf863130cf90fafb8145ae Fix stupid sock_dir bug I forgot to actually parse the sock_dir info from the config file. Do so. --- diff --git a/onak-conf.c b/onak-conf.c index 02ccf2d..763bdb2 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -201,6 +201,8 @@ void readconfig(const char *configfile) { } else if (!strncmp("use_keyd ", curline, 9)) { config.use_keyd = parsebool(&curline[9], config.use_keyd); + } else if (!strncmp("sock_dir ", curline, 9)) { + config.sock_dir = strdup(&curline[9]); } else if (!strncmp("check_sighash ", curline, 9)) { config.check_sighash = parsebool(&curline[9], config.check_sighash);