diff options
author | Jeremy Allison <jra@samba.org> | 2006-08-30 16:02:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:00 -0500 |
commit | bc28b5c7008e5df45fbd6bf413d8177e8ba7c367 (patch) | |
tree | 05c837d5c154025b37ad8fe981bc466dd13ddb5a /source3 | |
parent | 7b7ce43b40888af7d2663e77d8a9e83c383c6b2d (diff) | |
download | samba-bc28b5c7008e5df45fbd6bf413d8177e8ba7c367.tar.gz samba-bc28b5c7008e5df45fbd6bf413d8177e8ba7c367.tar.bz2 samba-bc28b5c7008e5df45fbd6bf413d8177e8ba7c367.zip |
r17933: Don't print a NULL sitename.
Jeremy.
(This used to be commit 2829dbc3e01d967887e25d1bcacb1d538fc11e59)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/namequery_dc.c | 4 |
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; |