summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
committerJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
commit30191d1a5704ad2b158386b511558972d539ce47 (patch)
tree4f46e5c4f28f672ab661aa18f45745860970a88c /source3/smbd/ipc.c
parent789856f63ff73fec66298e95c91c60db7bdaf14e (diff)
downloadsamba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz
samba-30191d1a5704ad2b158386b511558972d539ce47.tar.bz2
samba-30191d1a5704ad2b158386b511558972d539ce47.zip
RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
Diffstat (limited to 'source3/smbd/ipc.c')
-rw-r--r--source3/smbd/ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 0709acc756..0360417c56 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -84,7 +84,7 @@ static void copy_trans_params_and_data(char *outbuf, int align,
void send_trans_reply(struct smb_request *req,
char *rparam, int rparam_len,
char *rdata, int rdata_len,
- BOOL buffer_too_large)
+ bool buffer_too_large)
{
int this_ldata,this_lparam;
int tot_data_sent = 0;
@@ -190,7 +190,7 @@ void send_trans_reply(struct smb_request *req,
static void api_rpc_trans_reply(struct smb_request *req, smb_np_struct *p)
{
- BOOL is_data_outstanding;
+ bool is_data_outstanding;
char *rdata = (char *)SMB_MALLOC(p->max_trans_reply);
int data_len;
@@ -294,7 +294,7 @@ static void api_fd_reply(connection_struct *conn, uint16 vuid,
int suwcnt, int tdscnt, int tpscnt,
int mdrcnt, int mprcnt)
{
- BOOL reply = False;
+ bool reply = False;
smb_np_struct *p = NULL;
int pnum;
int subcommand;