1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r1632: in case of error don't send uninitialised fnums on the wire

(This used to be commit 13cd58efce)
This commit is contained in:
Andrew Tridgell 2004-08-03 06:50:58 +00:00 committed by Gerald (Jerry) Carter
parent cfdd3e68be
commit 44194cc663

View File

@ -95,7 +95,7 @@ static BOOL test_oplock(struct cli_state *cli, TALLOC_CTX *mem_ctx)
union smb_open io;
struct smb_unlink unl;
union smb_read rd;
uint16_t fnum, fnum2;
uint16_t fnum=0, fnum2=0;
/* cleanup */
cli_unlink(cli->tree, fname);