summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-16 19:46:12 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-20 15:28:26 +0100
commit2036d64e59732f8f80e40d56f64db6594283be75 (patch)
treecf2966631f62b3bf1ab6f447b9d8e8e4888f70be /source3
parentda75c017624679354b3f3561c106ee0cef36c4bc (diff)
downloadsamba-2036d64e59732f8f80e40d56f64db6594283be75.tar.gz
samba-2036d64e59732f8f80e40d56f64db6594283be75.tar.bz2
samba-2036d64e59732f8f80e40d56f64db6594283be75.zip
s3: Remove a #define used just once
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Nov 20 15:28:26 CET 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/dsgetdcname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 1b57c047e8..b1acee87d7 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -27,7 +27,6 @@
#include "libads/dns.h"
#include "libsmb/clidgram.h"
-#define DSGETDCNAME_FMT "DSGETDCNAME/DOMAIN/%s"
/* 15 minutes */
#define DSGETDCNAME_CACHE_TTL 60*15
@@ -127,7 +126,8 @@ static char *dsgetdcname_cache_key(TALLOC_CTX *mem_ctx, const char *domain)
return NULL;
}
- return talloc_asprintf_strupper_m(mem_ctx, DSGETDCNAME_FMT, domain);
+ return talloc_asprintf_strupper_m(mem_ctx, "DSGETDCNAME/DOMAIN/%s",
+ domain);
}
/****************************************************************