diff options
author | Gerald Carter <jerry@samba.org> | 2006-08-24 16:33:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:48 -0500 |
commit | 26f55cb40de4556774ac3a4ef0e46003d85477a4 (patch) | |
tree | dfe207559b67a6bde58e2947d75dae83fa53ce88 /source3/libaddns | |
parent | 5693e6c599a586b1bb19eea375c6b1e22526031c (diff) | |
download | samba-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.c | 2 |
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; |