summaryrefslogtreecommitdiffstats
path: root/source3/namedbname.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-10-05 13:13:31 +0000
committerAndrew Tridgell <tridge@samba.org>1996-10-05 13:13:31 +0000
commitf3c79936d7fc21d3257432962b23764ca00b0cbb (patch)
tree8f942150cf4c7b549ea5e7aa3175ee6e1f61df98 /source3/namedbname.c
parentf6153293603e8413933e8d539df4f2c0b18a6a4c (diff)
downloadsamba-f3c79936d7fc21d3257432962b23764ca00b0cbb.tar.gz
samba-f3c79936d7fc21d3257432962b23764ca00b0cbb.tar.xz
samba-f3c79936d7fc21d3257432962b23764ca00b0cbb.zip
- replace the base36 function with one that works on more systems
(compiler bugs were the problem) - minor password cleanups (catch WfWG bug where it sets the password to a space instead of a NULL) - fix printing problem for kanji users - minor cleanups (This used to be commit 92566ecc315c29da6e9aaa67ddae33e64f5bcc67)
Diffstat (limited to 'source3/namedbname.c')
-rw-r--r--source3/namedbname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c
index 833a870c6c..6cd89df523 100644
--- a/source3/namedbname.c
+++ b/source3/namedbname.c
@@ -513,12 +513,12 @@ void expire_names(time_t t)
reply to a name query
****************************************************************************/
struct name_record *search_for_name(struct subnet_record **d,
- struct nmb_name *question,
+ struct nmb_name *question,
struct in_addr ip, int Time, int search)
{
int name_type = question->name_type;
char *qname = question->name;
- BOOL dns_type = name_type == 0x20 || name_type == 0;
+ BOOL dns_type = (name_type == 0x20 || name_type == 0);
struct name_record *n;