Author: jerry
Date: 2006-08-24 16:33:50 +0000 (Thu, 24 Aug 2006)
New Revision: 17799

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17799

Log:
Start fixing the building carnage.  Only include calls to 
uuid lib fucntions when WITH_DNS_UPDATES is defined.


Modified:
   branches/SAMBA_3_0/source/libaddns/dnsutils.c


Changeset:
Modified: branches/SAMBA_3_0/source/libaddns/dnsutils.c
===================================================================
--- branches/SAMBA_3_0/source/libaddns/dnsutils.c       2006-08-24 15:43:32 UTC 
(rev 17798)
+++ branches/SAMBA_3_0/source/libaddns/dnsutils.c       2006-08-24 16:33:50 UTC 
(rev 17799)
@@ -326,6 +326,7 @@
 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 @@
        return dwError;
 
       error:
+#endif
 
        *ppszKeyName = NULL;
        return dwError;

Reply via email to