From: fredrik Date: Wed, 11 Apr 2007 01:28:00 +0000 (+0000) Subject: Updated findfile. X-Git-Tag: 0.3~63 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=c5d236324fe6500844a86263e754339a2b3190f0 Updated findfile. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@874 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/main.c b/daemon/main.c index 6124129..d008468 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -460,7 +460,7 @@ int main(int argc, char **argv) preinit(0); if(configfile == NULL) { - if((configfile = findfile("doldacond.conf", "doldacond", NULL, 0)) == NULL) + if((configfile = findfile("doldacond.conf", NULL, 0)) == NULL) { flog(LOG_CRIT, "could not find a configuration file"); exit(1);