diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-10-11 05:49:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-10-11 05:49:42 +0000 |
commit | c71c1ff55f60f317039e3399f786e961dfac9e0b (patch) | |
tree | 06bbbe070f268b827e0ec323496607f2622703d9 /source3/nameservresp.c | |
parent | 0b031a3f41158c421f64d2da41645b0c5ec7540d (diff) | |
download | samba-c71c1ff55f60f317039e3399f786e961dfac9e0b.tar.gz samba-c71c1ff55f60f317039e3399f786e961dfac9e0b.tar.bz2 samba-c71c1ff55f60f317039e3399f786e961dfac9e0b.zip |
- set default printer driver string to "NULL"
- fixed debug levels for name status parsing
(This used to be commit f2c5f1eab1f3de7a9ae2b7ec4770a5c455dc04e4)
Diffstat (limited to 'source3/nameservresp.c')
-rw-r--r-- | source3/nameservresp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/nameservresp.c b/source3/nameservresp.c index a4cda7cdfb..1c53e80b9d 100644 --- a/source3/nameservresp.c +++ b/source3/nameservresp.c @@ -211,11 +211,10 @@ static BOOL interpret_node_status(struct subnet_record *d, char *p, struct nmb_name *name,int t, char *serv_name, struct in_addr ip, BOOL bcast) { - int level = t==0x20 ? 4 : 0; int numnames = CVAL(p,0); BOOL found = False; - DEBUG(level,("received %d names\n",numnames)); + DEBUG(4,("received %d names\n",numnames)); p += 1; @@ -286,9 +285,9 @@ static BOOL interpret_node_status(struct subnet_record *d, } } - DEBUG(level,("\t%s(0x%x)\t%s\n",qname,type,flags)); + DEBUG(4,("\t%s(0x%x)\t%s\n",qname,type,flags)); } - DEBUG(level,("num_good_sends=%d num_good_receives=%d\n", + DEBUG(4,("num_good_sends=%d num_good_receives=%d\n", IVAL(p,20),IVAL(p,24))); return found; } |