summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-23 02:02:33 +0000
committerJeremy Allison <jra@samba.org>2000-02-23 02:02:33 +0000
commit9db96b7646aa36aa5b4ff309419235fe20bef78a (patch)
tree9d545a8cfd5029dae7f984e760ed0d78dd2e8db5 /source3/nmbd
parentf7324464b1adcac67e620a75f2fd51ef8e615173 (diff)
downloadsamba-9db96b7646aa36aa5b4ff309419235fe20bef78a.tar.gz
samba-9db96b7646aa36aa5b4ff309419235fe20bef78a.tar.bz2
samba-9db96b7646aa36aa5b4ff309419235fe20bef78a.zip
lib/system.c: Fixed gcc warnings.
nmbd/nmbd_processlogon.c: Use "True" and "False" instead of 1 and 0. Others - preparing for multiple pdu write code. Jeremy. (This used to be commit 9f879ec396230deba34fbe5e82d8a65f92137c54)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_processlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index e13dff8302..d3b7f92fc7 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -48,7 +48,7 @@ void process_logon_packet(struct packet_struct *p,char *buf,int len,
uint16 lmnttoken = 0;
uint16 lm20token = 0;
uint32 domainsidsize;
- BOOL short_request = 0;
+ BOOL short_request = False;
char *getdc;
char *uniuser; /* Unicode user name. */
pstring ascuser;
@@ -123,7 +123,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) ));
if ((buf - q) >= len) { /* Check for a short request */
- short_request = 1;
+ short_request = True;
}
else { /* A full length request */