mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-26 14:04:14 -04:00
Update env var to be more consistent (leaving backwards compatibility)
git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@388 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
@@ -139,6 +139,8 @@ static void die_exit(const char* message)
|
||||
static void set_datadir(void)
|
||||
{
|
||||
char* ev = getenv("TINYDNSDIR");
|
||||
if (ev == NULL)
|
||||
char* ev = getenv("LDAP2DNS_TINYDNSDIR");
|
||||
int len;
|
||||
|
||||
tinydns_textfile[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user