From: Mike Brady Date: Thu, 22 Jun 2017 07:25:45 +0000 (+0100) Subject: Fix silly bug whereby it was looking for the configuration file in the wrong place. X-Git-Tag: 3.1~10^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d725ee45b729b17008f2d407a548fae98a0d8ed;p=thirdparty%2Fshairport-sync.git Fix silly bug whereby it was looking for the configuration file in the wrong place. --- diff --git a/shairport.c b/shairport.c index 2e221d67..b3574b41 100644 --- a/shairport.c +++ b/shairport.c @@ -971,7 +971,8 @@ int main(int argc, char **argv) { die("Can not recognise the endianness of the processor."); strcpy(configuration_file_path, SYSCONFDIR); - strcat(configuration_file_path, "/shairport-sync/"); + // strcat(configuration_file_path, "/shairport-sync"); // thinking about adding a special shairport-sync directory + strcat(configuration_file_path, "/"); strcat(configuration_file_path, appName); strcat(configuration_file_path, ".conf"); config.configfile = configuration_file_path;