1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

r25554: Convert last instances of BOOL, True and False to the standard types.

(This used to be commit 566aa14139)
This commit is contained in:
Jelmer Vernooij
2007-10-06 22:28:14 +00:00
committed by Gerald (Jerry) Carter
parent 05e7c48146
commit 2151cde580
236 changed files with 4638 additions and 4637 deletions

View File

@ -27,13 +27,13 @@
/*
check out of bounds for incoming data
*/
static BOOL raw_trans_oob(struct smbcli_request *req,
static bool raw_trans_oob(struct smbcli_request *req,
uint_t offset, uint_t count)
{
uint8_t *ptr;
if (count == 0) {
return False;
return false;
}
ptr = req->in.hdr + offset;
@ -43,9 +43,9 @@ static BOOL raw_trans_oob(struct smbcli_request *req,
ptr >= req->in.data + req->in.data_size ||
count > req->in.data_size ||
ptr + count > req->in.data + req->in.data_size) {
return True;
return true;
}
return False;
return false;
}
/****************************************************************************