Use findfile instead of findconfig file.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 14 Nov 2006 03:56:07 +0000 (03:56 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 14 Nov 2006 03:56:07 +0000 (03:56 +0000)
Add filldef to findfile.

git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@733 959494ce-11ee-0310-bf91-de5d638817bd

daemon/conf.h

index 7edc835..e6b7465 100644 (file)
@@ -24,8 +24,6 @@
 #include <netinet/in.h>
 #include <utils.h>
 
-#define CONFIG_PATH "/usr/local/etc/doldacond.conf:/usr/etc/doldacond.conf:/etc/doldacond.conf"
-
 #define CONF_VAR_END -1
 #define CONF_VAR_BOOL 0
 #define CONF_VAR_INT 1
@@ -70,6 +68,5 @@ struct configvar *confgetvar(char *modname, char *varname);
 #define confgetstr(m, v) (confgetvar((m), (v))->val.str)
 void confregmod(struct configmod *mod);
 void readconfig(FILE *stream);
-char *findconfigfile(void);
 
 #endif