diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f (patch) | |
tree | 1bc44df77ea5bb85a1e8bff698a583f3a3f43fc5 /source/libsmb/clitrans.c | |
parent | ea3173a9457f9095a70d401abfd1af8c913211a0 (diff) | |
download | samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.tar.gz samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.tar.xz samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.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.
Diffstat (limited to 'source/libsmb/clitrans.c')
-rw-r--r-- | source/libsmb/clitrans.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/libsmb/clitrans.c b/source/libsmb/clitrans.c index e859dce9567..5db624150d4 100644 --- a/source/libsmb/clitrans.c +++ b/source/libsmb/clitrans.c @@ -24,7 +24,7 @@ Send a SMB trans or trans2 request. ****************************************************************************/ -BOOL cli_send_trans(struct cli_state *cli, int trans, +bool cli_send_trans(struct cli_state *cli, int trans, const char *pipe_name, int fid, int flags, uint16 *setup, unsigned int lsetup, unsigned int msetup, @@ -162,7 +162,7 @@ BOOL cli_send_trans(struct cli_state *cli, int trans, Receive a SMB trans or trans2 response allocating the necessary memory. ****************************************************************************/ -BOOL cli_receive_trans(struct cli_state *cli,int trans, +bool cli_receive_trans(struct cli_state *cli,int trans, char **param, unsigned int *param_len, char **data, unsigned int *data_len) { @@ -170,7 +170,7 @@ BOOL cli_receive_trans(struct cli_state *cli,int trans, unsigned int total_param=0; unsigned int this_data,this_param; NTSTATUS status; - BOOL ret = False; + bool ret = False; *data_len = *param_len = 0; @@ -341,7 +341,7 @@ BOOL cli_receive_trans(struct cli_state *cli,int trans, Send a SMB nttrans request. ****************************************************************************/ -BOOL cli_send_nt_trans(struct cli_state *cli, +bool cli_send_nt_trans(struct cli_state *cli, int function, int flags, uint16 *setup, unsigned int lsetup, unsigned int msetup, @@ -469,7 +469,7 @@ BOOL cli_send_nt_trans(struct cli_state *cli, Receive a SMB nttrans response allocating the necessary memory. ****************************************************************************/ -BOOL cli_receive_nt_trans(struct cli_state *cli, +bool cli_receive_nt_trans(struct cli_state *cli, char **param, unsigned int *param_len, char **data, unsigned int *data_len) { @@ -478,7 +478,7 @@ BOOL cli_receive_nt_trans(struct cli_state *cli, unsigned int this_data,this_param; uint8 eclass; uint32 ecode; - BOOL ret = False; + bool ret = False; *data_len = *param_len = 0; |