summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-03 06:50:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:45 -0500
commit44194cc66378682a39f3694977101bf8f2a7a6f6 (patch)
treeea82ea6186bec92f7431d617e0cdaab1c4051fcc /source4
parentcfdd3e68bed5f0c8cfa7d50ee8d7ce70826aa664 (diff)
downloadsamba-44194cc66378682a39f3694977101bf8f2a7a6f6.tar.gz
samba-44194cc66378682a39f3694977101bf8f2a7a6f6.tar.bz2
samba-44194cc66378682a39f3694977101bf8f2a7a6f6.zip
r1632: in case of error don't send uninitialised fnums on the wire
(This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index 1329f58fa9..6d6953354b 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -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);