summaryrefslogtreecommitdiff
path: root/source3/libaddns
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-08-24 16:33:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:48 -0500
commit26f55cb40de4556774ac3a4ef0e46003d85477a4 (patch)
treedfe207559b67a6bde58e2947d75dae83fa53ce88 /source3/libaddns
parent5693e6c599a586b1bb19eea375c6b1e22526031c (diff)
downloadsamba-26f55cb40de4556774ac3a4ef0e46003d85477a4.tar.gz
samba-26f55cb40de4556774ac3a4ef0e46003d85477a4.tar.bz2
samba-26f55cb40de4556774ac3a4ef0e46003d85477a4.zip
r17799: Start fixing the building carnage. Only include calls to
uuid lib fucntions when WITH_DNS_UPDATES is defined. (This used to be commit 3c547202856378cb1b6895b8c5dd0c9e43c66a1f)
Diffstat (limited to 'source3/libaddns')
-rw-r--r--source3/libaddns/dnsutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libaddns/dnsutils.c b/source3/libaddns/dnsutils.c
index 6071d35d53..acf81a09c3 100644
--- a/source3/libaddns/dnsutils.c
+++ b/source3/libaddns/dnsutils.c
@@ -326,6 +326,7 @@ int32 DNSCopyDomainName( uint8 * pBuffer,
int32 DNSGenerateKeyName( char **ppszKeyName )
{
int32 dwError = 0;
+#if defined(WITH_DNS_UPDATES)
char *pszKeyName = NULL;
char szTemp[256];
char szBuffer[256];
@@ -348,6 +349,7 @@ int32 DNSGenerateKeyName( char **ppszKeyName )
return dwError;
error:
+#endif
*ppszKeyName = NULL;
return dwError;