summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-15 08:18:29 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-15 08:18:29 +0000
commit02704f973347f05af5ebcb0d4a494a6102199536 (patch)
tree9829826e5606439ccc7e0932c9a7dffe183cdb0c /source3/smbd
parentf1d333ea35a4fed92e2d51aafa4e758f577e5cf1 (diff)
downloadsamba-02704f973347f05af5ebcb0d4a494a6102199536.tar.gz
samba-02704f973347f05af5ebcb0d4a494a6102199536.tar.bz2
samba-02704f973347f05af5ebcb0d4a494a6102199536.zip
Minor fixes.
- signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett (This used to be commit a13ce0df4b4a776fa635a1fb804dd00d195f58d0)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ipc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index c8bb0c2505..85e28f5d17 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -138,9 +138,9 @@ void send_trans_reply(char *outbuf,
set_message(outbuf,10,1+this_ldata+this_lparam+align,False);
copy_trans_params_and_data(outbuf, align,
- rparam, tot_param_sent, this_lparam,
- rdata, tot_data_sent, this_ldata);
-
+ rparam, tot_param_sent, this_lparam,
+ rdata, tot_data_sent, this_ldata);
+
SSVAL(outbuf,smb_vwv3,this_lparam);
SSVAL(outbuf,smb_vwv4,smb_offset(smb_buf(outbuf)+1,outbuf));
SSVAL(outbuf,smb_vwv5,tot_param_sent);
@@ -410,7 +410,7 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int
}
if (suwcnt) {
- int i;
+ unsigned int i;
if((setup = (uint16 *)malloc(suwcnt*sizeof(uint16))) == NULL) {
DEBUG(0,("reply_trans: setup malloc fail for %u bytes !\n", (unsigned int)(suwcnt * sizeof(uint16))));
SAFE_FREE(data);