diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-29 21:35:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-31 21:19:15 +0200 |
commit | 62f12e2322f1f14cf359fa39a822cd478256cf01 (patch) | |
tree | 130a69cc06a7b8f8e18d6ec76bb91719866c58af /source3 | |
parent | c200e8632f70dfbdf67279ed5c621d0fe97e1d2d (diff) | |
download | samba-62f12e2322f1f14cf359fa39a822cd478256cf01.tar.gz samba-62f12e2322f1f14cf359fa39a822cd478256cf01.tar.bz2 samba-62f12e2322f1f14cf359fa39a822cd478256cf01.zip |
Fix an uninitialized variable valgrind error
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clitrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index c566972b21..91fb6e6296 100644 --- a/source3/libsmb/clitrans.c +++ b/source3/libsmb/clitrans.c @@ -166,7 +166,7 @@ bool cli_receive_trans(struct cli_state *cli,int trans, *data_len = *param_len = 0; - mid = SVAL(cli->inbuf,smb_mid); + mid = SVAL(cli->outbuf,smb_mid); if (!cli_receive_smb(cli)) { cli_state_seqnum_remove(cli, mid); @@ -487,7 +487,7 @@ bool cli_receive_nt_trans(struct cli_state *cli, *data_len = *param_len = 0; - mid = SVAL(cli->inbuf,smb_mid); + mid = SVAL(cli->outbuf,smb_mid); if (!cli_receive_smb(cli)) { cli_state_seqnum_remove(cli, mid); |