summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1998-08-03 18:33:49 +0000
committerChristopher R. Hertel <crh@samba.org>1998-08-03 18:33:49 +0000
commit103857e8e33c724805baf5283335dc4e3901f007 (patch)
tree2d44a7a907c287d1cb57c1cf93fcb1c915c6c308 /source3
parentf1abfacd4d230075e5c4029271f2f3952ac2c68a (diff)
downloadsamba-103857e8e33c724805baf5283335dc4e3901f007.tar.gz
samba-103857e8e33c724805baf5283335dc4e3901f007.tar.bz2
samba-103857e8e33c724805baf5283335dc4e3901f007.zip
One more minor change to the format of a DEBUG message. I broke up a
very long output line in become_domain_master_query_success(). Chris -)----- (This used to be commit 9b5d431661c55056c31bedf9ef3900f27e1c5292)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_become_dmb.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_become_dmb.c b/source3/nmbd/nmbd_become_dmb.c
index 01f1126b21..fe02f18f06 100644
--- a/source3/nmbd/nmbd_become_dmb.c
+++ b/source3/nmbd/nmbd_become_dmb.c
@@ -317,10 +317,15 @@ static void become_domain_master_query_success(struct subnet_record *subrec,
if(ismyip(ip) || ip_equal(allones_ip, ip) || ip_equal(ipzero, ip))
{
- DEBUG(3,("become_domain_master_query_success: Our address (%s) returned \
-in query for name %s (domain master browser name) on subnet %s. \
-Continuing with domain master code.\n",
- inet_ntoa(ip), namestr(nmbname), subrec->subnet_name));
+ if( DEBUGLVL( 3 ) )
+ {
+ dbgtext( "become_domain_master_query_success():\n" );
+ dbgtext( "Our address (%s) ", inet_ntoa(ip) );
+ dbgtext( "returned in query for name %s ", namestr(nmbname) );
+ dbgtext( "(domain master browser name) " );
+ dbgtext( "on subnet %s.\n", subrec->subnet_name );
+ dbgtext( "Continuing with domain master code.\n" );
+ }
become_domain_master_stage1(subrec, nmbname->name);
}