summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/namequery_dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index b4ea90fde0..ed71a9816a 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -76,8 +76,8 @@ static BOOL ads_dc_name(const char *domain,
if (i == 3) {
- DEBUG(1,("ads_dc_name: sitename (now %s) keeps changing ???\n",
- sitename));
+ DEBUG(1,("ads_dc_name: sitename (now \"%s\") keeps changing ???\n",
+ sitename ? sitename : ""));
SAFE_FREE(sitename);
ads_destroy(&ads);
return False;